// decompress by writing to a new IO buffer, update body
IOBuffer inflatedBodyBuffer = new IOBuffer();
final byte[] byteBuffer = new byte[1024];
int numBytes;
while (-1 != (numBytes = inflator_input_stream.read(byteBuffer))) {
inflatedBodyBuffer.writeBytes(byteBuffer, 0, numBytes);
}
inflatedBodyBuffer.flush();
int inflated_body_length = inflatedBodyBuffer.totalBytes();
_setPostBody(inflatedBodyBuffer, inflated_body_length);