Merge Issue 11662 from 3.2 branch.

This commit is contained in:
guido@google.com 2011-03-29 12:02:49 -07:00
commit 2008a8f8c0
5 changed files with 74 additions and 0 deletions

View file

@ -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)