[Twisted-Python] HTTP client should be more tolerant?

Tommi Virtanen tv at twistedmatrix.com
Sun Feb 6 10:43:57 MST 2005


Markus Stenberg wrote:
>>That affects self.sendLine() too, causing your modified version to
>>potentially send LF-only lines. Not what you wanted.
> At least in 1.3 the HTTP stuff doesn't use sendLine for some ineffable
> reason. Probably not in the old stuff in svn either, but don't have checked
> out copy at home ;) wonder why sendCommand/Header, endHeaders are
> implemented using transport.write..

Not nice to rely on that -- I'd call your patch a time bomb,
waiting to explode.

The idea is nice.




More information about the Twisted-Python mailing list