Skip to content
This repository was archived by the owner on Sep 1, 2025. It is now read-only.

handle 204 No Content response#22

Merged
seanhandley merged 1 commit intodevelopfrom
handle_204_no_content
Sep 25, 2019
Merged

handle 204 No Content response#22
seanhandley merged 1 commit intodevelopfrom
handle_204_no_content

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments