From e438858da0b6d73b729e4a5c9aa5b78af7cc236f Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 28 Oct 2019 14:34:26 +0100 Subject: [PATCH] Better proxy handling (#1350) --- hassio/api/ingress.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hassio/api/ingress.py b/hassio/api/ingress.py index e870a999b..839f0bc53 100644 --- a/hassio/api/ingress.py +++ b/hassio/api/ingress.py @@ -226,6 +226,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