diff options
Diffstat (limited to 'testing/web-platform/tests/XMLHttpRequest/resources/requri.py')
-rw-r--r-- | testing/web-platform/tests/XMLHttpRequest/resources/requri.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/web-platform/tests/XMLHttpRequest/resources/requri.py b/testing/web-platform/tests/XMLHttpRequest/resources/requri.py new file mode 100644 index 000000000..eaa562dff --- /dev/null +++ b/testing/web-platform/tests/XMLHttpRequest/resources/requri.py @@ -0,0 +1,6 @@ +def main(request, response): + if "full" in request.GET: + return request.url + else: + return request.request_path + |