mirror of
https://github.com/servo/servo.git
synced 2025-06-26 18:14:34 +01:00
7 lines
279 B
Python
7 lines
279 B
Python
def main(request, response):
|
|
headers = [("Content-type", request.GET.first("mime"))]
|
|
if "content" in request.GET and request.GET.first("content") == "empty":
|
|
content = ''
|
|
else:
|
|
content = "console.log('Script loaded')"
|
|
return 200, headers, content
|