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