summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/XMLHttpRequest/resources/parse-headers.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/XMLHttpRequest/resources/parse-headers.py')
-rw-r--r--testing/web-platform/tests/XMLHttpRequest/resources/parse-headers.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/testing/web-platform/tests/XMLHttpRequest/resources/parse-headers.py b/testing/web-platform/tests/XMLHttpRequest/resources/parse-headers.py
deleted file mode 100644
index fdc626539..000000000
--- a/testing/web-platform/tests/XMLHttpRequest/resources/parse-headers.py
+++ /dev/null
@@ -1,10 +0,0 @@
-import json
-
-def main(request, response):
-
- content = ""
- if "my-custom-header" in request.GET:
- val = request.GET.first("my-custom-header")
- response.headers.set("My-Custom-Header", val)
-
- return content