[Python-checkins] python/dist/src/Doc/lib libhttplib.tex, 1.38, 1.39

birkenfeld@users.sourceforge.net birkenfeld at users.sourceforge.net
Sat Jun 25 21:15:50 CEST 2005


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29772/Doc/lib

Modified Files:
	libhttplib.tex 
Log Message:
bug [ 1202475 ] httplib docs mentioning HTTPConnection.getreply



Index: libhttplib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libhttplib.tex,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- libhttplib.tex	18 Sep 2004 09:03:48 -0000	1.38
+++ libhttplib.tex	25 Jun 2005 19:15:48 -0000	1.39
@@ -304,6 +304,8 @@
 \begin{methoddesc}{getresponse}{}
 Should be called after a request is sent to get the response from the server.
 Returns an \class{HTTPResponse} instance.
+\note{Note that you must have read the whole response before you can send a new
+request to the server.}
 \end{methoddesc}
 
 \begin{methoddesc}{set_debuglevel}{level}
@@ -320,11 +322,9 @@
 Close the connection to the server.
 \end{methoddesc}
 
-\begin{methoddesc}{send}{data}
-Send data to the server.  This should be used directly only after the
-\method{endheaders()} method has been called and before
-\method{getreply()} has been called.
-\end{methoddesc}
+As an alternative to using the \method{request()} method described above,
+you can also send your request step by step, by using the four functions
+below.
 
 \begin{methoddesc}{putrequest}{request, selector\optional{,
 skip\_host\optional{, skip_accept_encoding}}}
@@ -349,6 +349,11 @@
 Send a blank line to the server, signalling the end of the headers.
 \end{methoddesc}
 
+\begin{methoddesc}{send}{data}
+Send data to the server.  This should be used directly only after the
+\method{endheaders()} method has been called and before
+\method{getresponse()} is called.
+\end{methoddesc}
 
 \subsection{HTTPResponse Objects \label{httpresponse-objects}}
 



More information about the Python-checkins mailing list