1 2 3 4 5
from cgi import escape def main(request, response): label = request.GET.first('label') return """<!doctype html><meta charset="%s">""" % escape(label)