mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Remove superfluous BytesIO allocation
This commit is contained in:
parent
ad44552a03
commit
cb2f471831
@ -201,7 +201,7 @@ class Request(Message):
|
|||||||
self.headers = self.parse_headers(data[:idx])
|
self.headers = self.parse_headers(data[:idx])
|
||||||
|
|
||||||
ret = data[idx + 4:]
|
ret = data[idx + 4:]
|
||||||
buf = BytesIO()
|
buf = None
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
def read_line(self, unreader, buf, limit=0):
|
def read_line(self, unreader, buf, limit=0):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user