diff options
author | Skip Montanaro <skip@pobox.com> | 2001-02-15 17:00:40 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2001-02-15 17:00:40 (GMT) |
commit | 04f1d37471d6dde302acedf56ee543fa827c7f29 (patch) | |
tree | 64c2f487faf7b61e7aa88a436ea6cc16c496e0fa | |
parent | c3e11d65691bb4af578df87235914b0202c6c1e2 (diff) | |
download | cpython-04f1d37471d6dde302acedf56ee543fa827c7f29.zip cpython-04f1d37471d6dde302acedf56ee543fa827c7f29.tar.gz cpython-04f1d37471d6dde302acedf56ee543fa827c7f29.tar.bz2 |
mention the use of the maxtries attribute of FancyURLopener in bounding
redirection recursion.
-rw-r--r-- | Doc/lib/liburllib.tex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/lib/liburllib.tex b/Doc/lib/liburllib.tex index 1c43b47..7b50924 100644 --- a/Doc/lib/liburllib.tex +++ b/Doc/lib/liburllib.tex @@ -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}. |