Sign in
webkit
/
WebKit
/
0fdb1c920a601f6ba8278b9dcbcccd5ef948d90f
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
fetch
/
cross-origin-resource-policy
/
resources
/
redirect.py
blob: 73793b074272e90226da3919bd3dab95b8173d38 [
file
] [
log
] [
blame
]
def
main
(
request
,
response
):
headers
=
[(
"Location"
,
request
.
GET
[
'redirectTo'
])]
if
'corp'
in
request
.
GET
:
headers
.
append
((
'Cross-Origin-Resource-Policy'
,
request
.
GET
[
'corp'
]))
return
302
,
headers
,
""