mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 09:17:10 +00:00
Do not add a Content-Type header to ingress (#83425)
This commit is contained in:
parent
c75bf20a3c
commit
a0518295d5
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user