mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix broken responses with missing Content-Length.
We were testing for None and using a default value of -1.
This commit is contained in:
parent
d1fa62d98a
commit
bcafd6eb22
@ -117,7 +117,7 @@ class Response(object):
|
||||
self.should_close = req.should_close()
|
||||
self.headers = []
|
||||
self.headers_sent = False
|
||||
self.clength = -1
|
||||
self.clength = None
|
||||
#self.te = None
|
||||
self.sent = 0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user