diff --git a/sanic/server.py b/sanic/server.py index 2beeddc3..a33f9933 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -89,7 +89,7 @@ class HttpProtocol(asyncio.Protocol): protocol=self, url=self.url.decode('utf-8'), headers=dict(self.headers), - version=self.parser.get_http_version().decode('utf-8'), + version=self.parser.get_http_version(), method=self.parser.get_method().decode('utf-8') ) #print("res {} - {}".format(n, self.request))