Update web-platform-tests to revision aa86bfbb569fee92a3176bae68e3b7ec54140a6d

This commit is contained in:
WPT Sync Bot 2020-07-22 08:20:19 +00:00
parent a242913629
commit 4c80634acb
102 changed files with 1207 additions and 360 deletions

View file

@ -1,7 +1,7 @@
def main(request, response):
headers = [("Content-type", request.GET.first("mime"))]
if "content" in request.GET and request.GET.first("content") == "empty":
content = ''
headers = [(b"Content-type", request.GET.first(b"mime"))]
if b"content" in request.GET and request.GET.first(b"content") == b"empty":
content = b''
else:
content = "console.log('Script loaded')"
content = b"console.log('Script loaded')"
return 200, headers, content