Skip to content

csharp: Fixed handling of 2xx result codes != 200. (2.0 variant of #731) #740

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

Closed

Conversation

psmay
Copy link
Contributor

@psmay psmay commented May 10, 2015

Before this change, API calls returning successful result codes other than 200 were treated as failures. For example, one possible successful result code for a POST or PUT operation is 201 Created; this previously resulted in an exception but is now treated as a success.

A code is classified as a success in a similar way to how javax.ws.rs.core.Response (as of jersey-core 1.8.3) determines a result code's "Family".

…agger-api#731)

Before this change, API calls returning successful result codes other than 200 were treated as failures. For example, one possible successful result code for a POST or PUT operation is 201 Created; this previously resulted in an exception but is now treated as a success.

A code is classified as a success in a similar way to how javax.ws.rs.core.Response (as of jersey-core 1.8.3) determines a result code's "Family".
@fehguy
Copy link
Contributor

fehguy commented May 23, 2015

merged #775 in favor of this

@fehguy fehguy closed this May 23, 2015
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.

2 participants