summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2011-03-29 12:55:41 -0700
committerGuido van Rossum <guido@python.org>2011-03-29 12:55:41 -0700
commitacb63092b7966f6329c337960729559e1c503364 (patch)
tree081d5ec51f720cf0c336b6cd0af958b36aeb286d /Doc
parentad45bfe2d390eb94cf6d0e91b97c1db4bef2a2a9 (diff)
parenta119df91f33724f64e6bc1ecb484eeaa30ace014 (diff)
downloadcpython-git-acb63092b7966f6329c337960729559e1c503364.tar.gz
Merge issue 11662.
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 fe61030f35..b4a7f288c3 100644
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -783,6 +783,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)