Skip to content

Commit

Permalink
docs(): Detailed config options environment. (#2088)
Browse files Browse the repository at this point in the history
* docs(): Detailed config options environment.

* Update README.md

Co-authored-by: Jay <jasonsaayman@gmail.com>
  • Loading branch information
zgayjjf and jasonsaayman committed May 29, 2020
1 parent 17a6886 commit ee46dff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit ee46dff

Please sign in to comment.