mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-15 13:16:29 +00:00
Switch iter_chunked to iter_chunks (#5798)
* Switch iter_chunked to iter_any * iter_chunks not iter_any
This commit is contained in:
parent
d051cbcafb
commit
5c1f7ed18d
@ -279,7 +279,7 @@ class APIIngress(CoreSysAttributes):
|
||||
try:
|
||||
response.headers["X-Accel-Buffering"] = "no"
|
||||
await response.prepare(request)
|
||||
async for data in result.content.iter_chunked(4096):
|
||||
async for data, _ in result.content.iter_chunks():
|
||||
await response.write(data)
|
||||
|
||||
except (
|
||||
|
Loading…
x
Reference in New Issue
Block a user