`twisted.web.client.Agent` does not add a Host header if `None` (the default) is passed for the `headers` argument to `request`

[email protected] Tue, 24 Nov 2009 01:48:57 -0000
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from exarkun <[email protected]>:

`Agent.request` tries to make the ''Host'' header optional.  It does this by adding it based on the request URL if it is not found in the headers object passed in.  However, if no headers object is passed in, it fails to perform that check.


----------
Type     : defect
Component: web
Keywords : 
Priority : normal
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/4131