}
}
@Override
public byte[] getResult () {
try {
<BUG>return StreamUtils.copyStreamToByteArray(inputStream, connection.getContentLength());
</BUG>
} catch (IOException e) {
return StreamUtils.EMPTY_BYTES;
}

}
}
@Override
public byte[] getResult () {
try {
return StreamUtils.copyStreamToByteArray(getInputStream(), connection.getContentLength());
} catch (IOException e) {
return StreamUtils.EMPTY_BYTES;
