From caa06252015003990958d7db96f63aa646bc58e8 Mon Sep 17 00:00:00 2001 From: Lucas Keller Date: Fri, 16 Feb 2024 04:18:16 -0600 Subject: [PATCH] docs: update README responseEncoding types (#6194) README.md didn't elaborate upon responseEncoding options- now it does. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 76f8ffb..04e7601 100644 --- a/README.md +++ b/README.md @@ -487,6 +487,9 @@ These are the available config options for making requests. Only the `url` is re // `responseEncoding` indicates encoding to use for decoding responses (Node.js only) // Note: Ignored for `responseType` of 'stream' or client-side requests + // options are: 'ascii', 'ASCII', 'ansi', 'ANSI', 'binary', 'BINARY', 'base64', 'BASE64', 'base64url', + // 'BASE64URL', 'hex', 'HEX', 'latin1', 'LATIN1', 'ucs-2', 'UCS-2', 'ucs2', 'UCS2', 'utf-8', 'UTF-8', + // 'utf8', 'UTF8', 'utf16le', 'UTF16LE' responseEncoding: 'utf8', // default // `xsrfCookieName` is the name of the cookie to use as a value for xsrf token