diff options
Diffstat (limited to 'testing/web-platform/tests/xhr/resources/win-1252-xml.py')
-rw-r--r-- | testing/web-platform/tests/xhr/resources/win-1252-xml.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/web-platform/tests/xhr/resources/win-1252-xml.py b/testing/web-platform/tests/xhr/resources/win-1252-xml.py new file mode 100644 index 0000000000..e26c7f9ec0 --- /dev/null +++ b/testing/web-platform/tests/xhr/resources/win-1252-xml.py @@ -0,0 +1,5 @@ +def main(request, response): + headers = [(b"Content-type", b"application/xml;charset=windows-1252")] + content = b'<\xff/>' + + return headers, content |