title: Getting HEAD content with Python Requests
body: <p>I'm trying to parse the result of a HEAD request done using the Python <a href="http://docs.python-requests.org/en/v0.10.6/index.html" rel="noreferrer">Requests</a> library, but can't seem to access the response content.</p>
  
  <p>According to the <a href="http://docs.python-requests.org/en/latest/api/" rel="noreferrer">docs</a>, I should be able to access the content from requests.Response.text. This works fine for me on GET requests, but returns None on HEAD requests.</p>
  
  <p><strong>GET request (works)</strong></p>
  
  <pre><code>import requests
  response = requests.get(url)
  content = response.text
  </code></pre>
  
  <p>content = <code>&lt;html&gt;...&lt;/html&gt;</code></p>
  
  <p><strong>HEAD request (no content)</strong></p>
  
  <pre><code>import requests
  response = requests.head(url)
  content = response.text
  </code></pre>
  
  <p>content = <code>None</code></p>
  
  <hr>
  
  <p><strong>EDIT</strong></p>
  
  <p>OK I've quickly realized form the answers that the HEAD request is not supposed to return content- only headers. But does that mean that, to access things found IN the <code>&lt;head&gt;</code> tag of a page, like <code>&lt;link&gt;</code> and <code>&lt;meta&gt;</code> tags, that one must GET the whole document?</p>