We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2899eb0 commit 0cc609aCopy full SHA for 0cc609a
roundup/cgi/client.py
@@ -2524,7 +2524,7 @@ def write_file(self, filename):
2524
# indicating an invalid range.
2525
if (self.env['REQUEST_METHOD'] == 'HEAD'
2526
or self.response_code == http_.client.REQUESTED_RANGE_NOT_SATISFIABLE):
2527
- self.setHeader("Content-Length", 0)
+ self.setHeader("Content-Length", "0")
2528
self.header()
2529
return
2530
# Use the optimized "sendfile" operation, if possible.
0 commit comments