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

Any 2xx status code should be a success #7

Merged
merged 2 commits into from
Nov 19, 2018

Conversation

tommaitland
Copy link
Contributor

The library is currently rejecting otherwise valid status codes like 201 and 204. Other libraries like request-promise allow any 2xx request through.

This is just a basic change allowing 2xx requests as a successful resolution.

@akhoury akhoury merged commit 19bf616 into akhoury:master Nov 19, 2018
@akhoury
Copy link
Owner

akhoury commented Nov 19, 2018

@tommaitland good catch, thanks

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.

None yet

2 participants