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

Add HttpResponseException.getStatusMessage() #93

Closed
wonderfly opened this issue Jan 9, 2015 · 1 comment
Closed

Add HttpResponseException.getStatusMessage() #93

wonderfly opened this issue Jan 9, 2015 · 1 comment

Comments

@wonderfly
Copy link
Contributor

@wonderfly wonderfly commented Jan 9, 2015

From yan...@google.com on April 23, 2012 16:04:45

External references, such as a standards document, or specification? http://javadoc.google-http-java-client.googlecode.com/hg/1.8.3-beta/com/google/api/client/http/HttpResponseException.html Java environments (e.g. Java 6, Android 2.3, App Engine, or All)? All Please describe the feature requested. Reported by dar...@google.com, Today (2 hours ago)
HttpResponseException already has a getStatusCode(). It would be nice to also be able to getStatusMessage().

e.g.: in the case of a "401 Unauthorized" response,
getStatusCode() would return 401, and
getStatusMessage() would return "Unauthorized".

Original issue: http://code.google.com/p/google-http-java-client/issues/detail?id=93

@wonderfly

This comment has been minimized.

Copy link
Contributor Author

@wonderfly wonderfly commented Jan 9, 2015

From rmis...@google.com on April 26, 2012 10:32:16

http://codereview.appspot.com/6099052/

Status: Fixed

@wonderfly wonderfly closed this Jan 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.