title: How can I get NSURLResponse body?
body: <p>I'm writing an application that connect with a server using <code>NSURLConnection</code>.</p>
  
  <p>In the delegate method <code>didreceiveresponse</code>, if the status code is 404, I cancel the connection and I would like to show a message with a custom error that is generated in the server. </p>
  
  <p>The problem is that from response object, I only can get statuscode, headers, mimetype, etc. but no body.</p>
  
  <p>How do I get the body message from <code>NSURLResponse</code>? </p>