title: For python, what does it mean for <class 'requests.models.Response'>
body: <p>I tries to use Requests library in python for crawling, I first imported the requests module,and then I use get function to call the website for getting a response named r, but I can not understand why the type of r is class,could you please tell me why ,thank you very much.</p>
  
  <p>I also want to check the request header, I checked some documents, it says that I can use r.request.headers, what does the request here mean, is it a method? </p>
  
  <pre><code>&gt;&gt;&gt; import requests
  &gt;&gt;&gt; r=requests.get("http://www.baidu.com")
  &gt;&gt;&gt; type(r)
  &lt;class 'requests.models.Response'&gt;
  </code></pre>