blob: 8f0b68e5a3aae677ff0181e8c536dab88d65a838 (
plain)
1
2
3
4
5
6
|
def main(request, response):
# This script generates a worker script for static imports from module
# service workers.
headers = [(b'Content-Type', b'text/javascript')]
body = b"import './echo-cookie-worker.py?key=%s'" % request.GET[b'key']
return headers, body
|