Update aiohttp 2.3.10 / yarl 1.1.0 (#12244)

* Update aiohttp 2.3.10 / yarl 1.1.0

* Update setup.py

* Update package_constraints.txt

* Update google.py

* Update static.py
This commit is contained in:
Pascal Vizeli 2018-02-09 05:57:05 +01:00 committed by Paulus Schoutsen
parent 18d027a10d
commit e4874fd7c7
5 changed files with 9 additions and 9 deletions

View file

@ -6,7 +6,7 @@ from aiohttp import hdrs
from aiohttp.web import FileResponse, middleware
from aiohttp.web_exceptions import HTTPNotFound
from aiohttp.web_urldispatcher import StaticResource
from yarl import unquote
from yarl import URL
_FINGERPRINT = re.compile(r'^(.+)-[a-z0-9]{32}\.(\w+)$', re.IGNORECASE)
@ -16,7 +16,7 @@ class CachingStaticResource(StaticResource):
@asyncio.coroutine
def _handle(self, request):
filename = unquote(request.match_info['filename'])
filename = URL(request.match_info['filename']).path
try:
# PyLint is wrong about resolve not being a member.
# pylint: disable=no-member