summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/dom/nodes/encoding.py
blob: 5f889e8db2a55cdfd23b0083a45a147a9fb87ab2 (plain)
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)