-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adopt the official behavior of validateStatus and always return an er…
…ror instance on rejection Axios 0.19 introduced the validateStatus support. With `validateStatus: null`, the request should get resolved and not rejected. https://github.com/axios/axios/blob/535d0c45c140cc2267612fcce019c1d65857be1d/lib/core/settle.js
- Loading branch information
1 parent
c4d95d7
commit 43e35b6
Showing
2 changed files
with
30 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters