*
* @return An input stream that will return the response body when read
* @throws IOException If an error occurs reading the input stream
*/
public ContentLengthInputStream getResponseBodyAsStream() throws IOException {
return new ContentLengthInputStream(response.getEntity().getContent(), response.getEntity().getContentLength());
}