Skip to content

Commit 0cc609a

Browse files
committed
Fix header value. needs to be string not integer.
1 parent 2899eb0 commit 0cc609a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/cgi/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2524,7 +2524,7 @@ def write_file(self, filename):
25242524
# indicating an invalid range.
25252525
if (self.env['REQUEST_METHOD'] == 'HEAD'
25262526
or self.response_code == http_.client.REQUESTED_RANGE_NOT_SATISFIABLE):
2527-
self.setHeader("Content-Length", 0)
2527+
self.setHeader("Content-Length", "0")
25282528
self.header()
25292529
return
25302530
# Use the optimized "sendfile" operation, if possible.

0 commit comments

Comments
 (0)