Update web-platform-tests to revision 4f22c5b19bae217799ce92c9df6dfdf2800c6d81

This commit is contained in:
WPT Sync Bot 2019-09-30 10:46:11 +00:00
parent 086e06b28b
commit ae931fea9a
70 changed files with 1114 additions and 416 deletions

View file

@ -26,7 +26,6 @@ def main(request, response):
response.set_error(400, "No Access-Control-Request-Method header")
return "ERROR: No access-control-request-method in preflight!"
# https://github.com/whatwg/fetch/issues/922
if request.headers.get("Accept", "") != "*/*":
response.set_error(400, "Request does not have 'Accept: */*' header")
return "ERROR: Invalid access in preflight!"