summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorguido@google.com <guido@google.com>2011-03-29 19:02:49 (GMT)
committerguido@google.com <guido@google.com>2011-03-29 19:02:49 (GMT)
commit2008a8f8c09b18fbd24e8039553d50a828dd3fb2 (patch)
treec78fd200fde6b54d7c1138fed8b0cbe840b583c7 /Doc
parentd4652fab512910ef501b6c62aca5f19bf18bfe74 (diff)
parentc768ff5d4f69f94455db82646e004fac4d11876e (diff)
downloadcpython-2008a8f8c09b18fbd24e8039553d50a828dd3fb2.zip
cpython-2008a8f8c09b18fbd24e8039553d50a828dd3fb2.tar.gz
cpython-2008a8f8c09b18fbd24e8039553d50a828dd3fb2.tar.bz2
Merge Issue 11662 from 3.2 branch.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/urllib.request.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
index 044339b..9a905c6 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -650,6 +650,10 @@ HTTPRedirectHandler Objects
is the case, :exc:`HTTPError` is raised. See :rfc:`2616` for details of the
precise meanings of the various redirection codes.
+ An :class:`HTTPError` exception raised as a security consideration if the
+ HTTPRedirectHandler is presented with a redirected url which is not an HTTP,
+ HTTPS or FTP url.
+
.. method:: HTTPRedirectHandler.redirect_request(req, fp, code, msg, hdrs, newurl)