use same close func in async

This commit is contained in:
benoitc 2010-04-02 02:09:37 +02:00
parent ff47d22488
commit 891d751af2

View File

@ -31,10 +31,6 @@ class KeepaliveResponse(http.Response):
"Connection: %s\r\n" % connection_hdr
]
def close(self):
if self.chunked:
write_chunk(self.socket, "")
class KeepaliveRequest(http.Request):
RESPONSE_CLASS = KeepaliveResponse