pass flake8 tests
This commit is contained in:
parent
b92e46df40
commit
8ebc92c236
|
@ -116,7 +116,7 @@ class HttpProtocol(asyncio.Protocol):
|
||||||
def on_headers_complete(self):
|
def on_headers_complete(self):
|
||||||
ra = self.transport.get_extra_info('peername')
|
ra = self.transport.get_extra_info('peername')
|
||||||
if ra:
|
if ra:
|
||||||
self.headers.append(('Remote-Addr','%s:%s' % ra))
|
self.headers.append(('Remote-Addr', '%s:%s' % ra))
|
||||||
|
|
||||||
self.request = Request(
|
self.request = Request(
|
||||||
url_bytes=self.url,
|
url_bytes=self.url,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user