Skip to content
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

Properly detect 404 (and similar) responses. #19

Merged
merged 2 commits into from
Aug 31, 2018

Conversation

hynek-urban
Copy link
Contributor

This is a fix for issue #18. In order to check response status codes, xhr-request-promise had to be swapped for plain xhr-request. Otherwise, the response object (containing the status code) could not be propagated to the caller (as xhr-request-promise throws it away).

@JirkaChadima
Copy link
Contributor

@evertonfraga Can you have a look at this? The original 404 detection is apparently broken. Thanks

@evertonfraga evertonfraga merged commit 658e96e into VictorTaelin:master Aug 31, 2018
@evertonfraga
Copy link
Collaborator

Thanks @hynek-urban!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants