More header cleanup for websocket proxy (#28288)

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

View File

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