|
2 | 2 |
|
3 | 3 | [](https://www.npmjs.org/package/axios) |
4 | 4 | [](https://cdnjs.com/libraries/axios) |
5 | | -[](https://travis-ci.org/axios/axios) |
| 5 | + |
6 | 6 | [](https://gitpod.io/#https://github.com/axios/axios) |
7 | 7 | [](https://coveralls.io/r/mzabriskie/axios) |
8 | 8 | [](https://packagephobia.now.sh/result?p=axios) |
@@ -456,20 +456,20 @@ These are the available config options for making requests. Only the `url` is re |
456 | 456 | // automatically. If set to `true` will also remove the 'content-encoding' header |
457 | 457 | // from the responses objects of all decompressed responses |
458 | 458 | // - Node only (XHR cannot turn off decompression) |
459 | | - decompress: true // default |
| 459 | + decompress: true, // default |
460 | 460 |
|
461 | 461 | // transitional options for backward compatibility that may be removed in the newer versions |
462 | 462 | transitional: { |
463 | 463 | // silent JSON parsing mode |
464 | 464 | // `true` - ignore JSON parsing errors and set response.data to null if parsing failed (old behaviour) |
465 | 465 | // `false` - throw SyntaxError if JSON parsing failed (Note: responseType must be set to 'json') |
466 | | - silentJSONParsing: true; // default value for the current Axios version |
| 466 | + silentJSONParsing: true, // default value for the current Axios version |
467 | 467 |
|
468 | | - // try to parse the response string as JSON even if `resposeType` is not 'json' |
| 468 | + // try to parse the response string as JSON even if `responseType` is not 'json' |
469 | 469 | forcedJSONParsing: true; |
470 | 470 |
|
471 | 471 | // throw ETIMEDOUT error instead of generic ECONNABORTED on request timeouts |
472 | | - clarifyTimeoutError: false; |
| 472 | + clarifyTimeoutError: false, |
473 | 473 | } |
474 | 474 | } |
475 | 475 | ``` |
|
0 commit comments