Fix incomplete request body being read
This commit is contained in:
parent
e70263d012
commit
47ec026536
@ -110,6 +110,9 @@ class HttpProtocol(asyncio.Protocol):
|
||||
)
|
||||
|
||||
def on_body(self, body):
|
||||
if self.request.body:
|
||||
self.request.body += body
|
||||
else:
|
||||
self.request.body = body
|
||||
|
||||
def on_message_complete(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user