import json def main(request, response): headers = [("Content-Type", "text/html")] body = """ """ % json.dumps(request.headers["sec-metadata"]) return headers, body