Sign in
webkit
/
WebKit
/
682d9bb2feed1433e3e2cc66204f18282e1de136
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
fetch
/
cross-origin-resource-policy
/
resources
/
hello.py
blob: 2b7cb6c6fc9fa99cfbba33a4dc456770ca2709ba [
file
] [
log
] [
blame
]
def
main
(
request
,
response
):
headers
=
[(
"Cross-Origin-Resource-Policy"
,
request
.
GET
[
'corp'
])]
if
'origin'
in
request
.
headers
:
headers
.
append
((
'Access-Control-Allow-Origin'
,
request
.
headers
[
'origin'
]))
return
200
,
headers
,
"hello"