Merge pull request #2112 from np-csu/patch-1

Update quickstart.rst
This commit is contained in:
Ian Cordasco
2014-06-29 08:31:23 -05:00
+1 -1
View File
@@ -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