mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
fix chunked response
This commit is contained in:
parent
19bf5e5d1b
commit
6ac5faf763
@ -35,7 +35,7 @@ class Response(object):
|
|||||||
if self.chunked:
|
if self.chunked:
|
||||||
if last_chunk or last_chunk is None:
|
if last_chunk or last_chunk is None:
|
||||||
# send last chunk
|
# send last chunk
|
||||||
write_chunk("")
|
write_chunk(self._sock, "")
|
||||||
|
|
||||||
close(self._sock)
|
close(self._sock)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user