mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update web-platform-tests to revision 4f22c5b19bae217799ce92c9df6dfdf2800c6d81
This commit is contained in:
parent
086e06b28b
commit
ae931fea9a
70 changed files with 1114 additions and 416 deletions
|
@ -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!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue