diff options
author | Guido van Rossum <guido@python.org> | 2011-03-29 19:55:41 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2011-03-29 19:55:41 (GMT) |
commit | acb63092b7966f6329c337960729559e1c503364 (patch) | |
tree | 081d5ec51f720cf0c336b6cd0af958b36aeb286d /Doc | |
parent | ad45bfe2d390eb94cf6d0e91b97c1db4bef2a2a9 (diff) | |
parent | a119df91f33724f64e6bc1ecb484eeaa30ace014 (diff) | |
download | cpython-acb63092b7966f6329c337960729559e1c503364.zip cpython-acb63092b7966f6329c337960729559e1c503364.tar.gz cpython-acb63092b7966f6329c337960729559e1c503364.tar.bz2 |
Merge issue 11662.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/urllib.request.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index fe61030..b4a7f28 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) |