diff --git a/sanic/server.py b/sanic/server.py index 33763bbb..d10a75cf 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -173,8 +173,7 @@ class HttpProtocol(asyncio.Protocol): self.request.body.append(body) def on_message_complete(self): - if self.request.body: - self.request.body = b''.join(self.request.body) + self.request.body = b''.join(self.request.body) self._request_handler_task = self.loop.create_task( self.request_handler(