mirror of
https://github.com/servo/servo.git
synced 2025-07-11 17:33:47 +01:00
9 lines
352 B
Python
9 lines
352 B
Python
def main(request, response):
|
|
headers = [
|
|
("Content-Type", "text/javascript"),
|
|
("Access-Control-Allow-Origin", request.headers.get("Origin")),
|
|
("Timing-Allow-Origin", request.headers.get("Origin")),
|
|
("Access-Control-Allow-Credentials", "true")
|
|
]
|
|
|
|
return headers, "// Cross-origin module, nothing to see here"
|