Skip to content

Commit

Permalink
update documentation to correspond to new cookie API
Browse files Browse the repository at this point in the history
  • Loading branch information
slingamn committed May 2, 2012
1 parent ff7cfa7 commit fdd0821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ If a response contains some Cookies, you can get quick access to them::
>>> url = 'http://httpbin.org/cookies/set/requests-is/awesome'
>>> r = requests.get(url)

>>> print r.cookies
{'requests-is': 'awesome'}
>>> r.cookies['requests-is']
'awesome'

To send your own cookies to the server, you can use the ``cookies``
parameter::
Expand Down

0 comments on commit fdd0821

Please sign in to comment.