Roundup Tracker - Issues

Issue 2550552

classification
AssertionError: Value of header "Content-Length" must be a string
Type: crash Severity: major
Components: Web interface Versions: 1.4
process
Status: closed fixed
:
: stefan : cmeerw, stefan
Priority: :

Created on 2009-06-07 16:32 by cmeerw, last changed 2009-06-30 01:32 by stefan.

Messages
msg3717 Author: [hidden] (cmeerw) Date: 2009-06-07 16:32
Using roundup 1.4.8 with Apache's mod_fcgid (via flup 1.0.2). I get an 
error message saying "Value of header "Content-Length" must be a 
string" in flup/server/fcgi_base.py", line 1109, in start_response

    assert type(val) is str, 'Value of header "%s" must be a string' % 
name

AssertionError: Value of header "Content-Length" must be a string

It looks like roundup/cgi/client.py, line 1326 needs to be changed to 
set the value of the "Content-Length" as a string, i.e.

            self.setHeader("Content-Length", str(length))
msg3741 Author: [hidden] (stefan) Date: 2009-06-30 01:32
Fixed as per rev:4238.
History
Date User Action Args
2009-06-30 01:46:57stefanlinkissue2550556 superseder
2009-06-30 01:32:47stefansetstatus: new -> closed
assignee: stefan
resolution: fixed
messages: + msg3741
nosy: + stefan
2009-06-07 16:32:13cmeerwcreate