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:
b9bbfa6
)
Update quickstart.rst
author
np-csu
<nipan1988@gmail.com>
Sun, 29 Jun 2014 13:05:04 +0000
(21:05 +0800)
committer
np-csu
<nipan1988@gmail.com>
Sun, 29 Jun 2014 13:05:04 +0000
(21:05 +0800)
line 394: correct an input error.
docs/user/quickstart.rst
patch
|
blob
|
history
diff --git
a/docs/user/quickstart.rst
b/docs/user/quickstart.rst
index ddf72da81a5f8f95938175ca2646e756f655b360..53ee6f6ed6f53cb01d2bd733bf3e932eb56c3b50 100644
(file)
--- a/
docs/user/quickstart.rst
+++ b/
docs/user/quickstart.rst
@@
-391,7
+391,7
@@
redirection handling with the ``allow_redirects`` parameter::
If you're using HEAD, you can enable redirection as well::
- >>> r = requests.
post
('http://github.com', allow_redirects=True)
+ >>> r = requests.
head
('http://github.com', allow_redirects=True)
>>> r.url
'https://github.com/'
>>> r.history