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:
7fbbdeb
)
disable_redirects parameter does not seem to exist anymore, updated docs to point...
author
Ed Summers
<ehs@pobox.com>
Wed, 7 Dec 2011 02:36:32 +0000
(21:36 -0500)
committer
Ed Summers
<ehs@pobox.com>
Wed, 7 Dec 2011 02:36:32 +0000
(21:36 -0500)
docs/user/quickstart.rst
patch
|
blob
|
history
diff --git
a/docs/user/quickstart.rst
b/docs/user/quickstart.rst
index
bcae48e
..
c9d9d53
100644
(file)
--- a/
docs/user/quickstart.rst
+++ b/
docs/user/quickstart.rst
@@
-316,9
+316,9
@@
The :class:`Response.history` list contains a list of the
:class:`Request` objects that were created in order to complete the request.
If you're using GET, HEAD, or OPTIONS, you can disable redirection
-handling with the ``
disable
_redirects`` parameter::
+handling with the ``
allow
_redirects`` parameter::
- >>> r = requests.get('http://github.com')
+ >>> r = requests.get('http://github.com'
, allow_redirects=False
)
>>> r.status_code
301
>>> r.history