Better proxy handling (#1350)

This commit is contained in:
Pascal Vizeli 2019-10-28 14:34:26 +01:00 committed by GitHub
parent 428a4dd849
commit e438858da0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,6 +226,10 @@ def _response_header(response: aiohttp.ClientResponse) -> Dict[str, str]:
hdrs.CONTENT_LENGTH,
hdrs.CONTENT_TYPE,
hdrs.CONTENT_ENCODING,
hdrs.SEC_WEBSOCKET_EXTENSIONS,
hdrs.SEC_WEBSOCKET_PROTOCOL,
hdrs.SEC_WEBSOCKET_VERSION,
hdrs.SEC_WEBSOCKET_KEY,
):
continue
headers[name] = value