title: AttributeError: 'Response' object has no attribute 'json'
body: <p>When I try to use the <a href="http://docs.python-requests.org/en/latest/api/#requests.Response.json" rel="nofollow"><code>.json()</code></a> method of a response object from the <em>requests</em> library, I get an error:</p>
  
  <pre><code>&gt;&gt;&gt; import requests
  &gt;&gt;&gt; response = requests.get("http://example.com/myfile.json")
  &gt;&gt;&gt; response_json = response.json()
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  AttributeError: 'Response' object has no attribute 'json'
  </code></pre>
  
  <p>Why am I getting this error and how can I fix it?</p>