2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

docs(): Detailed config options environment. (#2088)

* docs(): Detailed config options environment.

* Update README.md

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
jeffjing
2020-05-30 01:08:27 +08:00
committed by GitHub
parent 17a6886bf4
commit ee46dff3ef
+2 -2
View File
@@ -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