[Python-checkins] python/dist/src/Doc/lib liburllib2.tex,1.12,1.13

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Mon, 14 Jul 2003 14:07:07 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv1796

Modified Files:
	liburllib2.tex 
Log Message:
Markup consistency nits.


Index: liburllib2.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/liburllib2.tex,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** liburllib2.tex	14 Jul 2003 20:53:57 -0000	1.12
--- liburllib2.tex	14 Jul 2003 21:07:05 -0000	1.13
***************
*** 51,65 ****
  front of the \var{handler}s, unless the \var{handler}s contain
  them, instances of them or subclasses of them:
! 
! \code{ProxyHandler, UnknownHandler, HTTPHandler, HTTPDefaultErrorHandler, 
!       HTTPRedirectHandler, FTPHandler, FileHandler}
  
  If the Python installation has SSL support (\function{socket.ssl()}
  exists), \class{HTTPSHandler} will also be added.
  
! Beginning in Python 2.3, a \class{BaseHandler} subclass may also change its
! \var{handler_order} member variable to modify its position in the handlers
! list. Besides \class{ProxyHandler}, which has \var{handler_order} of
! \code{100}, all handlers currently have it set to \code{500}.
  \end{funcdesc}
  
--- 51,66 ----
  front of the \var{handler}s, unless the \var{handler}s contain
  them, instances of them or subclasses of them:
! \class{ProxyHandler}, \class{UnknownHandler}, \class{HTTPHandler},
! \class{HTTPDefaultErrorHandler}, \class{HTTPRedirectHandler},
! \class{FTPHandler}, \class{FileHandler}
  
  If the Python installation has SSL support (\function{socket.ssl()}
  exists), \class{HTTPSHandler} will also be added.
  
! Beginning in Python 2.3, a \class{BaseHandler} subclass may also
! change its \member{handler_order} member variable to modify its
! position in the handlers list. Besides \class{ProxyHandler}, which has
! \member{handler_order} of \code{100}, all handlers currently have it
! set to \code{500}.
  \end{funcdesc}
  
***************
*** 417,434 ****
  Return a \class{Request} or \code{None} in response to a redirect.
  This is called by the default implementations of the
! \code{http_error_30x()} methods when a redirection is received from
! the server.  If a redirection should take place, return a new
! \class{Request} to allow \code{http_error_30x()} to perform the
  redirect.  Otherwise, raise \exception{HTTPError} if no other
  \class{Handler} should try to handle this URL, or return \code{None}
  if you can't but another \class{Handler} might.
  
! \note{The default implementation of this method does not strictly
!  follow \rfc{2616}, which says that 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 the default
!  implementation reproduces this behaviour.}
! 
  \end{methoddesc}
  
--- 418,436 ----
  Return a \class{Request} or \code{None} in response to a redirect.
  This is called by the default implementations of the
! \method{http_error_30*()} methods when a redirection is received
! from the server.  If a redirection should take place, return a new
! \class{Request} to allow \method{http_error_30*()} to perform the
  redirect.  Otherwise, raise \exception{HTTPError} if no other
  \class{Handler} should try to handle this URL, or return \code{None}
  if you can't but another \class{Handler} might.
  
! \begin{notice}
!  The default implementation of this method does not strictly
!  follow \rfc{2616}, which says that 301 and 302 responses to \code{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 \code{GET}, and the default
!  implementation reproduces this behavior.
! \end{notice}
  \end{methoddesc}