projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff7cfa7
)
update documentation to correspond to new cookie API
author
Shivaram Lingamneni
<slingamn@cs.stanford.edu>
Wed, 2 May 2012 04:46:04 +0000
(21:46 -0700)
committer
Shivaram Lingamneni
<slingamn@cs.stanford.edu>
Wed, 2 May 2012 04:46:53 +0000
(21:46 -0700)
docs/user/quickstart.rst
patch
|
blob
|
history
diff --git
a/docs/user/quickstart.rst
b/docs/user/quickstart.rst
index
70ec5f1
..
6231630
100644
(file)
--- a/
docs/user/quickstart.rst
+++ b/
docs/user/quickstart.rst
@@
-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::