servo/tests/wpt/web-platform-tests/XMLHttpRequest/resources/img-utf8-html.py

5 lines
143 B
Python

def main(request, response):
headers = [("Content-type", "text/html;charset=utf-8")]
content = "<img>foo"
return headers, content