remove commented code
This commit is contained in:
parent
a2666a2b8a
commit
c7f2399ded
|
@ -266,7 +266,6 @@ class ASGIApp:
|
|||
message = await self.transport.receive()
|
||||
chunk = message.get("body", b"")
|
||||
await self.request.stream.put(chunk)
|
||||
# self.sanic_app.loop.create_task(self.request.stream.put(chunk))
|
||||
|
||||
more_body = message.get("more_body", False)
|
||||
|
||||
|
@ -294,7 +293,6 @@ class ASGIApp:
|
|||
headers = [
|
||||
(str(name).encode("latin-1"), str(value).encode("latin-1"))
|
||||
for name, value in response.headers.items()
|
||||
# if name not in ("Set-Cookie",)
|
||||
]
|
||||
except AttributeError:
|
||||
logger.error(
|
||||
|
|
Loading…
Reference in New Issue
Block a user