From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- testing/web-platform/tests/xhr/resources/shift-jis-html.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 testing/web-platform/tests/xhr/resources/shift-jis-html.py (limited to 'testing/web-platform/tests/xhr/resources/shift-jis-html.py') diff --git a/testing/web-platform/tests/xhr/resources/shift-jis-html.py b/testing/web-platform/tests/xhr/resources/shift-jis-html.py new file mode 100644 index 0000000000..d8941e9b39 --- /dev/null +++ b/testing/web-platform/tests/xhr/resources/shift-jis-html.py @@ -0,0 +1,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 -- cgit v1.2.3