chromium/third_party/blink/web_tests/external/wpt/xhr/resources/img-utf8-html.py

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

    return headers, content