address review feedback, small code refactoring
This commit is contained in:
parent
1bfbc67c62
commit
956793e066
|
@ -304,7 +304,7 @@ class HttpProtocol(asyncio.Protocol):
|
||||||
self._request_stream_task = self.loop.create_task(
|
self._request_stream_task = self.loop.create_task(
|
||||||
self.body_append(body)
|
self.body_append(body)
|
||||||
)
|
)
|
||||||
return
|
else:
|
||||||
self.request.body_push(body)
|
self.request.body_push(body)
|
||||||
|
|
||||||
async def body_append(self, body):
|
async def body_append(self, body):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user