[Twisted-Python] Possible bug in twisted/protocols/http.py?

Andrew Bennetts andrew-twisted at puzzling.org
Sun Dec 7 20:16:03 EST 2003


On Sun, Dec 07, 2003 at 07:44:26PM -0500, Carl Waldbieser wrote:
> 
> The second (around line 350) was caused by the following statement:
> 
> key, val = line.split(': ', 1)
> 
> I believe the line has something to do with parsing the request headers.
> The problem was that the header was being sent like "name:value" with no
> space after the colon.  This caused the tuple unpacking to blow up.  I

This bug has already been fixed in CVS, I think... try 1.1.1rc4.

-Andrew.





More information about the Twisted-Python mailing list