mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Update http
This commit is contained in:
@@ -328,7 +328,8 @@ class HomeAssistantWSGI(object):
|
|||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def serve_file(request):
|
def serve_file(request):
|
||||||
"""Redirect to location."""
|
"""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
|
# aiohttp supports regex matching for variables. Using that as temp
|
||||||
# to work around cache busting MD5.
|
# to work around cache busting MD5.
|
||||||
|
Reference in New Issue
Block a user