summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/xhr/resources/shift-jis-html.py
blob: d8941e9b393e98a787106cc47ab9009b48da7356 (plain)
1
2
3
4
5
6
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