]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
mention the use of the maxtries attribute of FancyURLopener in bounding
authorSkip Montanaro <skip@pobox.com>
Thu, 15 Feb 2001 17:00:40 +0000 (17:00 +0000)
committerSkip Montanaro <skip@pobox.com>
Thu, 15 Feb 2001 17:00:40 +0000 (17:00 +0000)
redirection recursion.

Doc/lib/liburllib.tex

index 1c43b47cfbed2b7c88a2191e74baeca69f7fa84a..7b50924bfbd0a0977faafa67e21af758262ff835 100644 (file)
@@ -205,7 +205,9 @@ actually retrieve a resource at an \file{https:} URL.
 handling for the following HTTP response codes: 301, 302 or 401.  For
 301 and 302 response codes, the \code{location} header is used to
 fetch the actual URL.  For 401 response codes (authentication
-required), basic HTTP authentication is performed.
+required), basic HTTP authentication is performed.  For 301 and 302 response
+codes, recursion is bounded by the value of the \var{maxtries} attribute,
+which defaults 10.
 
 The parameters to the constructor are the same as those for
 \class{URLopener}.