title: Reading HttpPost response
body: <p>I'm using this code to post a request to a http server:</p>
  
  <pre><code>HttpClient client = new DefaultHttpClient();
  HttpPost post = new HttpPost( "http://192.168.0.1/test.php" );
  HttpResponse response = null;
  try {
      List&lt; NameValuePair &gt; nameValuePairs = new ArrayList&lt; NameValuePair &gt;( 1 );
      nameValuePairs.add( new BasicNameValuePair( "num", "2" ) );
      post.setEntity( new UrlEncodedFormEntity( nameValuePairs ) );
      response = client.execute( post );
  }
  catch( ClientProtocolException e ) {
      ...
  }
  catch( IOException e ) {
      ...
  }
  </code></pre>
  
  <p>The response is nothing more than a simple <code>String</code>.  How can I read this response as a <code>String</code>?  It doesn't seem like HttpResponse have a method for doing this directly.</p>