Revert "More header cleanup for websocket proxy (#28288)" (#28293)

This reverts commit 7887850505.
This commit is contained in:
Pascal Vizeli
2019-10-28 16:54:15 +01:00
committed by GitHub
parent 549e8cf2c5
commit 335872b54d

View File

@@ -211,10 +211,6 @@ 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