This commit is contained in:
Channel Cat 2016-10-03 00:35:20 -07:00
parent 347bb6a86d
commit ffd521b67b

View File

@ -89,8 +89,8 @@ class HttpProtocol(asyncio.Protocol):
protocol=self, protocol=self,
url=self.url.decode('utf-8'), url=self.url.decode('utf-8'),
headers=dict(self.headers), headers=dict(self.headers),
version=self.parser.get_http_version(), version=self.parser.get_http_version().decode('utf-8'),
method=self.parser.get_method() method=self.parser.get_method().decode('utf-8')
) )
#print("res {} - {}".format(n, self.request)) #print("res {} - {}".format(n, self.request))