Code

Fix issue2550552.
authorstefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2>
Tue, 30 Jun 2009 01:32:06 +0000 (01:32 +0000)
committerstefan <stefan@57a73879-2fb5-44c3-a270-3262357dd7e2>
Tue, 30 Jun 2009 01:32:06 +0000 (01:32 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4238 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/cgi/client.py

index 6b74e4be62f4a870891df681e8c93eeb7b4daebd..3b3be84bf6d65c2ca10b5f9d171802e82fea98ea 100644 (file)
@@ -1323,7 +1323,7 @@ class Client:
             # 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