Update web-platform-tests to revision 8ba782c9d5a545b850cd8920032cb14cfbab2c35

This commit is contained in:
WPT Sync Bot 2020-07-17 08:20:46 +00:00
parent b17a302356
commit 986610f6ed
91 changed files with 1030 additions and 429 deletions

View file

@ -3,7 +3,7 @@ from wptserve.handlers import json_handler
@json_handler
def main(request, response):
dir = '/'.join(request.url_parts.path.split('/')[:-1]) + '/'
key = request.GET.first("key")
response.headers.set('Access-Control-Allow-Origin', '*')
dir = u'/'.join(request.url_parts.path.split(u'/')[:-1]) + u'/'
key = request.GET.first(b"key")
response.headers.set(b'Access-Control-Allow-Origin', b'*')
return request.server.stash.take(key, dir)