title: How can I read a bytearray from an HttpResponse?
body: <p>I'm making an http connection using following code:</p>
  
  <pre><code>HttpClient client = new DefaultHttpClient();
  HttpPost httpPost = new HttpPost(url);
  HttpResponse response = client.execute(httpPost);
  </code></pre>
  
  <p>I want to read a bytearray from the response object.</p>
  
  <p>How would I do that?</p>