mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
More header cleanup for websocket proxy (#28288)
This commit is contained in:
parent
54342d2a4e
commit
7887850505
@ -211,6 +211,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user