def main(request, response): response_headers = [(b"Access-Control-Allow-Origin", b"*")] body = b"""

%s

""" % request.headers.get(b"referer", b"") return (200, response_headers, body)