remove commented code

This commit is contained in:
Yun Xu 2019-07-06 11:34:22 -07:00
parent a2666a2b8a
commit c7f2399ded

View File

@ -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(