Update web-platform-tests to revision 7ec633bbfbc01de4972e65f81f593983d9cdc17d

This commit is contained in:
WPT Sync Bot 2020-01-23 08:22:35 +00:00
parent 24674687ac
commit 36e52003a7
107 changed files with 1452 additions and 646 deletions

View file

@ -1,4 +1,11 @@
def main(request, response):
if request.method == 'OPTIONS':
# CORS preflight
response.headers.set('Access-Control-Allow-Origin', '*')
response.headers.set('Access-Control-Allow-Methods', '*')
response.headers.set('Access-Control-Allow-Headers', '*')
return 'done'
url_dir = '/'.join(request.url_parts.path.split('/')[:-1]) + '/'
key = request.GET.first("key")
value = request.GET.first("value")