mirror of
https://github.com/servo/servo.git
synced 2025-07-11 17:33:47 +01:00
15 lines
462 B
Python
15 lines
462 B
Python
def main(request, response):
|
|
headers = {
|
|
"Cache-Control": "no-store",
|
|
"Access-Control-Allow-Headers": "X-Requested-With",
|
|
"Access-Control-Max-Age": 0,
|
|
"Access-Control-Allow-Origin": "*",
|
|
"Access-Control-Allow-Methods": "*",
|
|
"Vary": "Accept-Encoding",
|
|
"Content-Type": "text/plain"
|
|
}
|
|
|
|
for (name, value) in headers.items():
|
|
response.headers.set(name, value)
|
|
|
|
response.content = "PASS"
|