From ffd521b67b119799fcb1e3e5c3bcbdf9810b3ce3 Mon Sep 17 00:00:00 2001 From: Channel Cat Date: Mon, 3 Oct 2016 00:35:20 -0700 Subject: [PATCH] derp --- sanic/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sanic/server.py b/sanic/server.py index 7fe302e9..2beeddc3 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -89,8 +89,8 @@ class HttpProtocol(asyncio.Protocol): protocol=self, url=self.url.decode('utf-8'), headers=dict(self.headers), - version=self.parser.get_http_version(), - method=self.parser.get_method() + version=self.parser.get_http_version().decode('utf-8'), + method=self.parser.get_method().decode('utf-8') ) #print("res {} - {}".format(n, self.request))