global json import json response = ''' ''' for key in env: value = str(env[key]) if value == "": value = " " response += "" +html.escape(key)+ ":
\n" +html.escape(value)+ "
\n" response += "" simpleResponse( env["self"].connection,"200 OK", { "Content-Type": "text/html; charset=UTF-8", },(response).encode("utf-8") )