changeset 4145:c15fcee3d8a1

Fix issue2550552.
author Stefan Seefeld <stefan@seefeld.name>
date Tue, 30 Jun 2009 01:32:06 +0000
parents 3c4545f55949
children 42331c201b02
files roundup/cgi/client.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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

Roundup Issue Tracker: http://roundup-tracker.org/