diff --git a/hassio/api/proxy.py b/hassio/api/proxy.py index 7abd31ffa..24c4b72aa 100644 --- a/hassio/api/proxy.py +++ b/hassio/api/proxy.py @@ -79,14 +79,10 @@ class APIProxy(CoreSysAttributes): while True: data = await client.content.read(10) if not data: - await response.write_eof() break await response.write(data) except aiohttp.ClientError: - await response.write_eof() - - except asyncio.CancelledError: pass finally: