[Python-bugs-list] [ python-Bugs-457100 ] httplib GET example should use host head

noreply@sourceforge.net noreply@sourceforge.net
Thu, 30 Aug 2001 21:31:42 -0700


Bugs item #457100, was opened at 2001-08-30 21:31
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=457100&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: httplib GET example should use host head

Initial Comment:
the POST example in httplib docs does use
a host: header, but the GET one does not.
people should probably always use a host header
these days as name-based virtual hosts are very
common, copying the example in the documentation
as is is likely to give surprises.

  -- erno@iki.fi

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=457100&group_id=5470