summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/xhr/resources/access-control-basic-allow-star.py
blob: 38c5107cb71d8216a5164add0f4112393930d5c9 (plain)
1
2
3
4
5
def main(request, response):
    response.headers.set(b"Content-Type", b"text/plain")
    response.headers.set(b"Access-Control-Allow-Origin", b"*")

    response.content = b"PASS: Cross-domain access allowed."