Add HttpResponseException.getStatusMessage() #93
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
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
The text was updated successfully, but these errors were encountered: