mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 19:55:10 +02:00
More header cleanup for websocket proxy (#28288)
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user