mirror of
https://github.com/tenrok/axios.git
synced 2026-05-21 13:24:11 +03:00
chore(docs): update README.md (#6048)
This commit is contained in:
@@ -546,7 +546,7 @@ These are the available config options for making requests. Only the `url` is re
|
||||
// automatically. If set to `true` will also remove the 'content-encoding' header
|
||||
// from the responses objects of all decompressed responses
|
||||
// - Node only (XHR cannot turn off decompression)
|
||||
decompress: true // default
|
||||
decompress: true, // default
|
||||
|
||||
// `insecureHTTPParser` boolean.
|
||||
// Indicates where to use an insecure HTTP parser that accepts invalid HTTP headers.
|
||||
@@ -554,7 +554,7 @@ These are the available config options for making requests. Only the `url` is re
|
||||
// Using the insecure parser should be avoided.
|
||||
// see options https://nodejs.org/dist/latest-v12.x/docs/api/http.html#http_http_request_url_options_callback
|
||||
// see also https://nodejs.org/en/blog/vulnerability/february-2020-security-releases/#strict-http-header-parsing-none
|
||||
insecureHTTPParser: undefined // default
|
||||
insecureHTTPParser: undefined, // default
|
||||
|
||||
// transitional options for backward compatibility that may be removed in the newer versions
|
||||
transitional: {
|
||||
|
||||
Reference in New Issue
Block a user