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

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

View file

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