[Python-checkins] CVS: python/dist/src/Doc/lib libhttplib.tex,1.23,1.24
Fred L. Drake
fdrake@users.sourceforge.net
Fri, 31 Aug 2001 19:35:26 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv23905/lib
Modified Files:
libhttplib.tex
Log Message:
Added the "Host" header to the "GET" example.
This closes SF bug #457100.
Index: libhttplib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libhttplib.tex,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** libhttplib.tex 2001/01/22 17:42:32 1.23
--- libhttplib.tex 2001/09/01 02:35:23 1.24
***************
*** 122,125 ****
--- 122,126 ----
>>> h.putheader('Accept', 'text/html')
>>> h.putheader('Accept', 'text/plain')
+ >>> h.putheader('Host', 'www.cwi.nl')
>>> h.endheaders()
>>> errcode, errmsg, headers = h.getreply()