mirror of
https://github.com/tenrok/axios.git
synced 2026-06-23 20:40:40 +03:00
Fix README typo under Request Config (#3825)
Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
@@ -465,8 +465,8 @@ These are the available config options for making requests. Only the `url` is re
|
|||||||
// `false` - throw SyntaxError if JSON parsing failed (Note: responseType must be set to 'json')
|
// `false` - throw SyntaxError if JSON parsing failed (Note: responseType must be set to 'json')
|
||||||
silentJSONParsing: true, // default value for the current Axios version
|
silentJSONParsing: true, // default value for the current Axios version
|
||||||
|
|
||||||
// try to parse the response string as JSON even if `resposeType` is not 'json'
|
// try to parse the response string as JSON even if `responseType` is not 'json'
|
||||||
forcedJSONParsing: true,
|
forcedJSONParsing: true;
|
||||||
|
|
||||||
// throw ETIMEDOUT error instead of generic ECONNABORTED on request timeouts
|
// throw ETIMEDOUT error instead of generic ECONNABORTED on request timeouts
|
||||||
clarifyTimeoutError: false,
|
clarifyTimeoutError: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user