Skip to content

Commit 04f1d37

Browse files
author
Skip Montanaro
committed
mention the use of the maxtries attribute of FancyURLopener in bounding
redirection recursion.
1 parent c3e11d6 commit 04f1d37

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Doc/lib/liburllib.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ \section{\module{urllib} ---
205205
handling for the following HTTP response codes: 301, 302 or 401. For
206206
301 and 302 response codes, the \code{location} header is used to
207207
fetch the actual URL. For 401 response codes (authentication
208-
required), basic HTTP authentication is performed.
208+
required), basic HTTP authentication is performed. For 301 and 302 response
209+
codes, recursion is bounded by the value of the \var{maxtries} attribute,
210+
which defaults 10.
209211

210212
The parameters to the constructor are the same as those for
211213
\class{URLopener}.

0 commit comments

Comments
 (0)