int contentLength = request.getConnection().getContentLength();
substituteContentLength(progress, originalText, contentLength);
NetUtils.copyStreamContent(progress, request.getInputStream(), output, contentLength);
}
catch (IOException e) {
<BUG>throw new IOException(HttpRequests.createErrorMessage(e, request), e);
</BUG>
}
return null;
}

int contentLength = request.getConnection().getContentLength();
substituteContentLength(progress, originalText, contentLength);
NetUtils.copyStreamContent(progress, request.getInputStream(), output, contentLength);
}
catch (IOException e) {
throw new IOException(HttpRequests.createErrorMessage(e, request, true), e);
}
return null;
}
