summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.request.rst
diff options
context:
space:
mode:
authorguido@google.com <guido@google.com>2011-03-29 18:51:26 (GMT)
committerguido@google.com <guido@google.com>2011-03-29 18:51:26 (GMT)
commitc768ff5d4f69f94455db82646e004fac4d11876e (patch)
tree77144fa55f5cc370a26d6db11766e0bffd35b3be /Doc/library/urllib.request.rst
parentc7d28be62f56a9089b1a96b2d46a7041822c5885 (diff)
parenta119df91f33724f64e6bc1ecb484eeaa30ace014 (diff)
downloadcpython-c768ff5d4f69f94455db82646e004fac4d11876e.zip
cpython-c768ff5d4f69f94455db82646e004fac4d11876e.tar.gz
cpython-c768ff5d4f69f94455db82646e004fac4d11876e.tar.bz2
Merge Issue 11662 from 3.1 branch.
Diffstat (limited to 'Doc/library/urllib.request.rst')
-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)