diff options
Diffstat (limited to 'testing/web-platform/tests/XMLHttpRequest/resources/accept-language.py')
-rw-r--r-- | testing/web-platform/tests/XMLHttpRequest/resources/accept-language.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/web-platform/tests/XMLHttpRequest/resources/accept-language.py b/testing/web-platform/tests/XMLHttpRequest/resources/accept-language.py new file mode 100644 index 000000000..e0fd30c11 --- /dev/null +++ b/testing/web-platform/tests/XMLHttpRequest/resources/accept-language.py @@ -0,0 +1,4 @@ +def main(request, response): + return [("Content-Type", "text/plain"), + request.headers.get("Accept-Language", "NO")] + |