We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07476ab commit cdfbea6Copy full SHA for cdfbea6
providers/grizzly/src/main/java/org/asynchttpclient/providers/grizzly/GrizzlyResponse.java
@@ -107,6 +107,7 @@ public String getResponseBody(String charset) throws IOException {
107
*/
108
@Override
109
public byte[] getResponseBodyAsBytes() throws IOException {
110
+ final Buffer responseBody = getResponseBody0();
111
final byte[] responseBodyBytes = new byte[responseBody.remaining()];
112
final int origPos = responseBody.position();
113
responseBody.get(responseBodyBytes);
0 commit comments