fix 4watt

This commit is contained in:
Channel Cat 2016-10-03 00:38:53 -07:00
parent ffd521b67b
commit fed5c01efb

View File

@ -89,7 +89,7 @@ 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().decode('utf-8'), version=self.parser.get_http_version(),
method=self.parser.get_method().decode('utf-8') method=self.parser.get_method().decode('utf-8')
) )
#print("res {} - {}".format(n, self.request)) #print("res {} - {}".format(n, self.request))