From ee46dff3ef006c05b4ab0e68743158b4d3103408 Mon Sep 17 00:00:00 2001 From: jeffjing Date: Sat, 30 May 2020 01:08:27 +0800 Subject: [PATCH] docs(): Detailed config options environment. (#2088) * docs(): Detailed config options environment. * Update README.md Co-authored-by: Jay --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 956625a..0562910 100755 --- a/README.md +++ b/README.md @@ -339,7 +339,7 @@ These are the available config options for making requests. Only the `url` is re // browser only: 'blob' responseType: 'json', // default - // `responseEncoding` indicates encoding to use for decoding responses + // `responseEncoding` indicates encoding to use for decoding responses (Node.js only) // Note: Ignored for `responseType` of 'stream' or client-side requests responseEncoding: 'utf8', // default @@ -361,7 +361,7 @@ These are the available config options for making requests. Only the `url` is re // Do whatever you want with the native progress event }, - // `maxContentLength` defines the max size of the http response content in bytes allowed + // `maxContentLength` defines the max size of the http response content in bytes allowed in node.js maxContentLength: 2000, // `maxBodyLength` (Node only option) defines the max size of the http request content in bytes allowed