Remove superfluous BytesIO allocation

This commit is contained in:
Randall Leeds 2017-12-09 19:19:40 -08:00
parent ad44552a03
commit cb2f471831

View File

@ -201,7 +201,7 @@ class Request(Message):
self.headers = self.parse_headers(data[:idx])
ret = data[idx + 4:]
buf = BytesIO()
buf = None
return ret
def read_line(self, unreader, buf, limit=0):