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