mirror of
https://github.com/servo/servo.git
synced 2025-10-10 13:30:20 +01:00
10 lines
284 B
Python
10 lines
284 B
Python
try:
|
|
from cgi import escape
|
|
except ImportError:
|
|
from html import escape
|
|
|
|
from wptserve.utils import isomorphic_decode
|
|
|
|
def main(request, response):
|
|
label = request.GET.first(b'label')
|
|
return u"""<!doctype html><meta charset="%s">""" % escape(isomorphic_decode(label))
|