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 Paulus Schoutsen
parent c75bf20a3c
commit a0518295d5

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)