# HG changeset patch # User Stefan Seefeld # Date 1246325526 0 # Node ID c15fcee3d8a1de026394cf5a279ec9301552a659 # Parent 3c4545f5594948617af441b3c6be43f0a9f7b190 Fix issue2550552. diff -r 3c4545f55949 -r c15fcee3d8a1 roundup/cgi/client.py --- a/roundup/cgi/client.py Fri Jun 19 17:10:07 2009 +0000 +++ b/roundup/cgi/client.py Tue Jun 30 01:32:06 2009 +0000 @@ -1323,7 +1323,7 @@ # RFC 2616 14.13: Content-Length # # Tell the client how much data we are providing. - self.setHeader("Content-Length", length) + self.setHeader("Content-Length", str(length)) # Send the HTTP header. self.header() # If the client doesn't actually want the body, or if we are