servo/tests/wpt/web-platform-tests/encoding/resources/text-html-meta-charset.py

3 lines
177 B
Python

def main(request, response):
response.headers.set(b"Content-Type", b"text/html")
response.content = b"<meta charset=\"" + request.GET.first(b"label") + b"\">hello encoding"