[Python-checkins] CVS: python/dist/src/Doc/lib libbasehttp.tex,1.13,1.14

Martin v. L?wis loewis@users.sourceforge.net
Sun, 17 Mar 2002 10:37:24 -0800


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

Modified Files:
	libbasehttp.tex 
Log Message:
Patch #430706: Persistent connections in BaseHTTPServer.


Index: libbasehttp.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libbasehttp.tex,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** libbasehttp.tex	14 Jul 2001 02:50:55 -0000	1.13
--- libbasehttp.tex	17 Mar 2002 18:37:22 -0000	1.14
***************
*** 124,130 ****
  
  \begin{memberdesc}{protocol_version}
! This specifies the HTTP protocol version used in responses.
! Typically, this should not be overridden. Defaults to
! \code{'HTTP/1.0'}.
  \end{memberdesc}
  
--- 124,133 ----
  
  \begin{memberdesc}{protocol_version}
! This specifies the HTTP protocol version used in responses.  If set
! to \code{'HTTP/1.1'}, the server will permit HTTP persistent
! connections; however, your server \emph{must} then include an
! accurate \code{Content-Length} header (using \method{send_header()})
! in all of its responses to clients.  For backwards compatibility,
! the setting defaults to \code{'HTTP/1.0'}.
  \end{memberdesc}
  
***************
*** 149,155 ****
  
  \begin{methoddesc}{handle}{}
! Overrides the superclass' \method{handle()} method to provide the
! specific handler behavior. This method will parse and dispatch
! the request to the appropriate \method{do_*()} method.
  \end{methoddesc}
  
--- 152,165 ----
  
  \begin{methoddesc}{handle}{}
! Calls \method{handle_one_request()} once (or, if persistent connections
! are enabled, multiple times) to handle incoming HTTP requests.
! You should never need to override it; instead, implement appropriate
! \method{do_*()} methods.
! \end{methoddesc}
! 
! \begin{methoddesc}{handle_one_request}{}
! This method will parse and dispatch
! the request to the appropriate \method{do_*()} method.  You should
! never need to override it.
  \end{methoddesc}