Forward client headers for proxied stream responses (#41663)
This commit is contained in:
parent
690024b34a
commit
1f07a4eba0
2 changed files with 22 additions and 1 deletions
|
@ -111,7 +111,7 @@ class HassIOView(HomeAssistantView):
|
|||
)
|
||||
|
||||
# Stream response
|
||||
response = web.StreamResponse(status=client.status)
|
||||
response = web.StreamResponse(status=client.status, headers=client.headers)
|
||||
response.content_type = client.content_type
|
||||
|
||||
await response.prepare(request)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue