title: From HTTPResponse to str in Python 3.6
body: <p>From a POST request to Vimeo API I get a JSON object encoded as HTTPResponse.</p>
  
  <pre><code>r = http.request('POST', 'https://api.vimeo.com/oauth/authorize/client?grant_type=client_credentials', headers={'Authorization': 'basic XXX'})
  </code></pre>
  
  <p>I do not find a way to convert the HTTPResponse to a str or Json object. In stackoverflow I found and tried the following options: </p>
  
  <pre><code>json.loads(r.decode('utf-8'))
  
  json.loads(r.readall().decode('utf-8'))
  
  str(r, 'utf-8')
  </code></pre>
  
  <p>but none of them worked.</p>
  
  <p>Please can you help?</p>
  
  <p>Thanks</p>