aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/xhr/resources/parse-headers.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/xhr/resources/parse-headers.py')
-rw-r--r--tests/wpt/web-platform-tests/xhr/resources/parse-headers.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/wpt/web-platform-tests/xhr/resources/parse-headers.py b/tests/wpt/web-platform-tests/xhr/resources/parse-headers.py
index fdc626539e8..c661f22c3e9 100644
--- a/tests/wpt/web-platform-tests/xhr/resources/parse-headers.py
+++ b/tests/wpt/web-platform-tests/xhr/resources/parse-headers.py
@@ -1,10 +1,6 @@
-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