Skip to content

Commit

Permalink
chore(docs): update README.md (#6048)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnomanmemon committed Nov 14, 2023
1 parent b12a608 commit a2b0fb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -546,15 +546,15 @@ 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.
// This may allow interoperability with non-conformant HTTP implementations.
// 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: {
Expand Down

0 comments on commit a2b0fb3

Please sign in to comment.