chromium/third_party/blink/web_tests/external/wpt/xhr/resources/shift-jis-html.py

def main(request, response):
    headers = [(b"Content-type", b"text/html;charset=shift-jis")]
    # Shift-JIS bytes for katakana TE SU TO ('test')
    content = bytes([0x83, 0x65, 0x83, 0x58, 0x83, 0x67])

    return headers, content