fix whitespace
This commit is contained in:
parent
be5588d5d8
commit
b92e46df40
|
@ -114,7 +114,6 @@ class HttpProtocol(asyncio.Protocol):
|
||||||
self.headers.append((name.decode(), value.decode('utf-8')))
|
self.headers.append((name.decode(), value.decode('utf-8')))
|
||||||
|
|
||||||
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))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user