fix chunked response

This commit is contained in:
benoitc 2010-03-06 23:40:59 +01:00
parent 19bf5e5d1b
commit 6ac5faf763

View File

@ -35,7 +35,7 @@ class Response(object):
if self.chunked:
if last_chunk or last_chunk is None:
# send last chunk
write_chunk("")
write_chunk(self._sock, "")
close(self._sock)