Files
servo/tests/wpt/web-platform-tests/html/semantics/scripting-1/the-script-element/cacheable-script-throw.py

5 lines
185 B
Python

def main(request, response):
headers = [(b"Content-Type", b"text/javascript"), (b"Cache-control", b"public, max-age=100")]
body = u"throw('fox');"
return 200, headers, body