parent
1cdc21f0ff
commit
fb57d1972f
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ public class HttpMethod<R> {
|
|||
int statusCode = statusLine.getStatusCode();
|
||||
|
||||
if (statusCode < 200 || statusCode >= 300) {
|
||||
throw new HttpResponseException("Unexpected response from server: " + statusCode + " / " + statusLine.getReasonPhrase(), statusCode, statusLine.getReasonPhrase(), bytes);
|
||||
throw new HttpResponseException("Unexpected response from server: " + statusCode + " / " + statusLine.getReasonPhrase() + " Response : " + new String(bytes), statusCode, statusLine.getReasonPhrase(), bytes);
|
||||
}
|
||||
|
||||
if (bytes == null) {
|
||||
|
|
Loading…
Reference in a new issue