-
-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Axios rejects on the successful request (204) in IE9 #201
Comments
savantaparna
pushed a commit
to savantaparna/axios
that referenced
this issue
Jan 22, 2016
Wouldn't expect anything less from IE :/ |
mzabriskie
added a commit
that referenced
this issue
Jan 22, 2016
Fixing #201 by treating status code 1223 as a success code.
This fix is available in 0.9.1 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Current behavior:
Axios rejects the promise on successful request in IE9 on status code 204.
Expected behavior:
Axios should resolve the promise when it receives status code as 204 in IE9.
I have found the discussion of this same issue -
http://stackoverflow.com/questions/10046972/msie-returns-status-code-of-1223-for-ajax-request
IE coerces 204 to 1223 and this falls out range of success codes (>= 200 && < 300).
The text was updated successfully, but these errors were encountered: