blob: 9a9c70ef5cf00d7f16963004e77ff135ed92afb4 (
plain)
1
2
3
4
5
6
7
|
def main(request, response):
headers = [(b"Content-type", request.GET.first(b"mime"))]
if b"content" in request.GET and request.GET.first(b"content") == b"empty":
content = b''
else:
content = b"console.log('Script loaded')"
return 200, headers, content
|