diff --git a/sanic/asgi.py b/sanic/asgi.py index 87cb36f8..26b88a8b 100644 --- a/sanic/asgi.py +++ b/sanic/asgi.py @@ -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(