mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Upgrade to aiohttp 3 (#12921)
* Upgrade aiohttp to 3.0.6 * Fix tests * Fix aiohttp client stream test * Lint * Remove drain
This commit is contained in:
@@ -116,7 +116,7 @@ async def async_aiohttp_proxy_stream(hass, request, stream, content_type,
|
||||
await response.write_eof()
|
||||
break
|
||||
|
||||
response.write(data)
|
||||
await response.write(data)
|
||||
|
||||
except (asyncio.TimeoutError, aiohttp.ClientError):
|
||||
# Something went wrong fetching data, close connection gracefully
|
||||
|
||||
Reference in New Issue
Block a user