title: Python request module - Getting response cookies
body: <p>I am using python 3.3 and the request module. And I am trying understand how to retrieve cookies from a response. The request documentation says:</p>
  
  <pre><code>url = 'http://example.com/some/cookie/setting/url'
  r = requests.get(url)
  
  r.cookies['example_cookie_name']
  </code></pre>
  
  <p>That doesn't make sense, how do you get data from a cookie if you don't already know the name of the cookie? Maybe I don't understand how cookies work? If I try and print the response cookies I get:</p>
  
  <pre><code>&lt;&lt;class 'requests.cookies.RequestsCookieJar'&gt;[]&gt;
  </code></pre>
  
  <p>Thanks</p>