*** liburllib.tex.orig Wed Mar 5 18:38:06 2003 --- liburllib.tex Wed Mar 5 20:00:39 2003 *************** *** 253,264 **** \begin{classdesc}{FancyURLopener}{...} \class{FancyURLopener} subclasses \class{URLopener} providing default ! handling for the following HTTP response codes: 301, 302 or 401. For ! 301 and 302 response codes, the \mailheader{Location} header is used to ! fetch the actual URL. For 401 response codes (authentication ! 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}. --- 253,270 ---- \begin{classdesc}{FancyURLopener}{...} \class{FancyURLopener} subclasses \class{URLopener} providing default ! handling for the following HTTP response codes: 301, 302, 303 and 401. ! For 301, 302 and 303 response codes, the \mailheader{Location} header ! is used to fetch the actual URL. For 401 response codes ! (authentication required), basic HTTP authentication is performed. ! For 301, 302 and 303 response codes, recursion is bounded by the value ! of the \var{maxtries} attribute, which defaults 10. ! ! \note{According to the letter of \rfc{2616}, 301 and 302 responses to ! POST requests must not be automatically redirected without ! confirmation by the user. In reality, browsers do allow automatic ! redirection of these responses, changing the POST to a GET, and ! \module{urllib} reproduces this behaviour.} The parameters to the constructor are the same as those for \class{URLopener}.