1
0
mirror of https://github.com/home-assistant/core.git synced 2025-06-23 22:47:09 +00:00

Do not add a Content-Type header to ingress ()

This commit is contained in:
Sergio Oller 2022-12-13 08:50:20 +01:00 committed by GitHub
parent e32074c74e
commit 9733d31cd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -130,6 +130,7 @@ class HassIOIngress(HomeAssistantView):
allow_redirects=False, allow_redirects=False,
data=request.content, data=request.content,
timeout=ClientTimeout(total=None), timeout=ClientTimeout(total=None),
skip_auto_headers={hdrs.CONTENT_TYPE},
) as result: ) as result:
headers = _response_header(result) headers = _response_header(result)