Update http
This commit is contained in:
parent
0c563f7b14
commit
f26a7fc6bb
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue