mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-24 09:36:31 +00:00
Fix name
This commit is contained in:
parent
a92cab48e0
commit
ce3d3d58ec
@ -16,7 +16,7 @@ from ..exceptions import HomeAssistantAuthError, HomeAssistantAPIError, APIError
|
||||
_LOGGER: logging.Logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
LEGACY_HEADER = ("X-Speech-Content",)
|
||||
FORWARD_HEADERS = ("X-Speech-Content",)
|
||||
|
||||
|
||||
class APIProxy(CoreSysAttributes):
|
||||
@ -51,7 +51,7 @@ class APIProxy(CoreSysAttributes):
|
||||
headers={
|
||||
name: value
|
||||
for name, value in request.headers.items()
|
||||
if name in LEGACY_HEADER
|
||||
if name in FORWARD_HEADERS
|
||||
},
|
||||
content_type=request.content_type,
|
||||
data=request.content,
|
||||
|
Loading…
x
Reference in New Issue
Block a user