A bug of twisted.web2.channel.scgi

[email protected] Wed, 23 Sep 2009 04:28:42 -0000
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from TorryCn <None>:

When  twisted.web.channel.scgi work with lighttpd, 
There is a line be insert before the webpage content.

The problem at http://twistedmatrix.com/trac/browser/tags/releases/twisted-8.2.0/twisted/web2/channel/scgi.py#L18

l.append("Status: %s %s\n" % (code, code_message))

change it to

l.append("Status: %s %s\r\n" % (code, code_message))

insert '\r' before '\n'

The problem is clean.

My English is poor, if you can't understand what I say. please contact me. [email protected]

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