title: Android: How get the status-code of an HttpClient request
body: <p>I want to download a file and need to check the response status code (ie <code>HTTP /1.1 200 OK</code>).
  This is a snipped of my code:</p>
  
  <pre><code>HttpGet httpRequest = new HttpGet(myUri);
  HttpEntity httpEntity = null;
  HttpClient httpclient = new DefaultHttpClient();
  HttpResponse response = httpclient.execute(httpRequest);
  ...
  </code></pre>
  
  <p>How do i get the status-code of the response?</p>