This commit is contained in:
@@ -617,7 +617,7 @@ public final class Utility {
|
||||
conn.disconnect();
|
||||
return remoteHttpContent(ctx, method, newurl, headers, body);
|
||||
}
|
||||
InputStream in = conn.getInputStream();
|
||||
InputStream in = rs < 400 ? conn.getInputStream() : conn.getErrorStream();
|
||||
ByteArrayOutputStream out = new ByteArrayOutputStream(1024);
|
||||
byte[] bytes = new byte[1024];
|
||||
int pos;
|
||||
|
||||
Reference in New Issue
Block a user