mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision 7ec633bbfbc01de4972e65f81f593983d9cdc17d
This commit is contained in:
parent
24674687ac
commit
36e52003a7
107 changed files with 1452 additions and 646 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue