From fed5c01efb6762f1fd2f40410a672f89fed012a3 Mon Sep 17 00:00:00 2001 From: Channel Cat Date: Mon, 3 Oct 2016 00:38:53 -0700 Subject: [PATCH] fix 4watt --- sanic/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))