mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision 3d117ae1266e6bd039a3a1ab92b27e82c3ccc92d
This commit is contained in:
parent
647796ede6
commit
20a08918d9
132 changed files with 3012 additions and 689 deletions
|
@ -23,6 +23,10 @@ def main(request, response):
|
|||
# more than one TAO values, seperated by comma, pass
|
||||
response.headers.set('Timing-Allow-Origin', origin)
|
||||
response.headers.append('Timing-Allow-Origin', '*')
|
||||
elif tao == 'multi_wildcard':
|
||||
# multiple wildcards, seperated by comma, pass
|
||||
response.headers.set('Timing-Allow-Origin', '*')
|
||||
response.headers.append('Timing-Allow-Origin', '*')
|
||||
elif tao == 'match_origin':
|
||||
# contains a match of origin, seperated by comma, pass
|
||||
response.headers.set('Timing-Allow-Origin', origin)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue