[REQUIRED] Use case description
I would like to include the HTTP response body in an InvalidResponseCodeException, so that I can read the response.
In particular, our license server sends back specific error codes which we need to triage.
Proposed solution
Add a new field to InvalidResponseCodeException which stores the value returned from HttpURLConnection#getErrorStream() (or string equivalent).
Alternatives considered
We could make our license request without using Exo's APIs. But I think making the change in Exo would be useful for everyone, and backwards-compatible.
I can make a pull request, with your support.