Closed
Description
It's posible I'm missing something, but I don't see anyway to get any additional information bout the request's response.
I'm specifically needing two things:
- HTTP Status Code in both onSuccess and onError: Casting the throwable in onError to HttpResponseException will let me call getStatusCode(), but this really isn't the cleanest way to go about it
- Response bodies in onError: RESTful API's frequently send back a response message, along with an HTTP error code.
Bonus: A way to fetch HTTP Response headers in both methods.
Metadata
Metadata
Assignees
Labels
No labels