summaryrefslogtreecommitdiff
path: root/docs/user
diff options
context:
space:
mode:
authornp-csu <nipan1988@gmail.com>2014-06-29 21:05:04 +0800
committernp-csu <nipan1988@gmail.com>2014-06-29 21:05:04 +0800
commit1bf4af63952227b74a583b5ec5445f130af9d163 (patch)
treeb8d24408ec9112550c617812ad6eeeb26dc1ed99 /docs/user
parentb9bbfa659f85ba1c38ed601f33e9ee4ccb61905a (diff)
downloadpython-requests-1bf4af63952227b74a583b5ec5445f130af9d163.tar.gz
Update quickstart.rst
line 394: correct an input error.
Diffstat (limited to 'docs/user')
-rw-r--r--docs/user/quickstart.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst
index ddf72da8..53ee6f6e 100644
--- 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