title: How to send cookies in a post request with the Python Requests library?
body: <p>I'm trying to use the <a href="http://docs.python-requests.org/en/latest/user/quickstart/#cookies">Requests</a> library to send cookies with a post request, but I'm not sure how to actually set up the cookies based on its documentation. The script is for use on Wikipedia, and the cookie(s) that need to be sent are of this form:</p>
  
  <pre><code>enwiki_session=17ab96bd8ffbe8ca58a78657a918558e; path=/; domain=.wikipedia.com; HttpOnly
  </code></pre>
  
  <p>However, the <code>requests</code> documentation quickstart gives this as the only example:</p>
  
  <pre><code>cookies = dict(cookies_are='working')
  </code></pre>
  
  <p>How can I encode a cookie like the above using this library? Do I need to make it with python's standard cookie library, then send it along with the POST request?</p>