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

handle 204 No Content response #22

Merged
merged 1 commit into from
Sep 25, 2019
Merged

Conversation

jaimeiniesta
Copy link
Contributor

This PR adds support for handling 204 No Content responses, such as in cancellation requests.

For these cases we don't want to attempt to decode the response body as JSON as it will be empty, so we can directly return a 204 status code and a blank body.

@seanhandley seanhandley merged commit bc913ae into develop Sep 25, 2019
@seanhandley seanhandley deleted the handle_204_no_content branch September 25, 2019 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants