From f26a7fc6bbb1c08527e1bc60aa803bb2c3637ee9 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 24 Oct 2016 00:09:20 -0700 Subject: [PATCH] Update http --- homeassistant/components/http.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/http.py b/homeassistant/components/http.py index 25515c61046..b13e786f50d 100644 --- a/homeassistant/components/http.py +++ b/homeassistant/components/http.py @@ -328,7 +328,8 @@ class HomeAssistantWSGI(object): @asyncio.coroutine def serve_file(request): """Redirect to location.""" - return _GZIP_FILE_SENDER.send(request, filepath) + yield from _GZIP_FILE_SENDER.send(request, filepath) + return # aiohttp supports regex matching for variables. Using that as temp # to work around cache busting MD5.