title: Update Cookies in Session Using python-requests Module
body: <p>I'm using <em>python-requests</em> module to handle oAuth request and response.
  I want to set received <em>access_token</em> (response content as <em>dict</em>) in <code>requests.session.cookies</code> object.</p>
  
  <p>How can I update existing cookies of session with received response from server?</p>
  
  <p><strong>[EDIT]</strong></p>
  
  <pre><code>self.session = requests.session(auth=self.auth_params)
  resp = self.session.post(url, data=data, headers=self.headers)
  content = resp.content
  </code></pre>
  
  <p>I want to do something like:</p>
  
  <pre><code>requests.utils.dict_from_cookiejar(self.session.cookies).update(content)
  </code></pre>
  
  <p>Here, <code>requests.utils.dict_from_cookiejar(self.session.cookies)</code> returns <em>dict</em> with one session key. Now, I want to update received response content in <code>self.session.cookies</code>.</p>