[Twisted-Python] no 'headers' in server.Request instance problem

Itamar Shtull-Trauring twisted at itamarst.org
Wed Jun 12 19:37:41 EDT 2002


This is a bug (due to that "Connection: close" header from Mozilla). I 
fixed it in CVS - 0.18.1 will include a fixed version. Until then you 
can get the updated version of twisted/protocols/http.py from CVS (see 
instructions on website.)

BTW - you don't need to use twisted.web.server.Request - since the 
refactor to HTTP you only need twisted.protocols.http.Request, no need 
to use twisted.web unless you are using it as a web framework.





More information about the Twisted-Python mailing list