diff options
author | Guido van Rossum <guido@python.org> | 2011-03-29 19:58:29 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2011-03-29 19:58:29 (GMT) |
commit | 20d2ab435e541f79a8e94d7b02696ee9f6e49c8d (patch) | |
tree | 9e3d30f3837fca3ab5a3c67c75cbf422271b6589 /Doc | |
parent | 6a2638b1637bd7f79f55def97df20cfccff02509 (diff) | |
parent | c768ff5d4f69f94455db82646e004fac4d11876e (diff) | |
download | cpython-20d2ab435e541f79a8e94d7b02696ee9f6e49c8d.zip cpython-20d2ab435e541f79a8e94d7b02696ee9f6e49c8d.tar.gz cpython-20d2ab435e541f79a8e94d7b02696ee9f6e49c8d.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 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) |