summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/dom/nodes/encoding.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/dom/nodes/encoding.py')
-rw-r--r--testing/web-platform/tests/dom/nodes/encoding.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/web-platform/tests/dom/nodes/encoding.py b/testing/web-platform/tests/dom/nodes/encoding.py
new file mode 100644
index 000000000..5f889e8db
--- /dev/null
+++ b/testing/web-platform/tests/dom/nodes/encoding.py
@@ -0,0 +1,5 @@
+from cgi import escape
+
+def main(request, response):
+ label = request.GET.first('label')
+ return """<!doctype html><meta charset="%s">""" % escape(label)