mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Cleanup not needed websocket flags for ingress (#28295)
This commit is contained in:
parent
502f59977a
commit
c00b058e53
@ -167,7 +167,14 @@ def _init_header(
|
|||||||
|
|
||||||
# filter flags
|
# filter flags
|
||||||
for name, value in request.headers.items():
|
for name, value in request.headers.items():
|
||||||
if name in (hdrs.CONTENT_LENGTH, hdrs.CONTENT_ENCODING):
|
if name in (
|
||||||
|
hdrs.CONTENT_LENGTH,
|
||||||
|
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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user