Sign in
webkit
/
WebKit
/
c1caffe95ad375f06e3e00c09db727d44dd65d13
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
xhr
/
resources
/
access-control-basic-allow-no-credentials.py
blob: 12f8660d1fc2636b010a8cd430c028c750f814ba [
file
] [
log
] [
blame
]
#!/usr/bin/env python
def
main
(
request
,
response
):
response
.
headers
.
set
(
"Content-Type"
,
"text/plain"
)
response
.
headers
.
set
(
"Access-Control-Allow-Origin"
,
request
.
headers
.
get
(
"origin"
))
response
.
content
=
"PASS: Cross-domain access allowed."