def main(request, response): headers = [ ("Content-Type", "text/html"), ] cookie = request.headers.get("Cookie", "no cookie") return headers, "
%s
" % cookie.decode()