aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/xhr/resources/parse-headers.py
diff options
context:
space:
mode:
authorWPT Sync Bot <josh+wptsync@joshmatthews.net>2020-01-05 08:21:57 +0000
committerWPT Sync Bot <josh+wptsync@joshmatthews.net>2020-01-05 10:58:13 +0000
commitdb5824faf8b49b6e731ff05a4d35169b2c587956 (patch)
tree7cf69a61d1227204e7a2491845aae8b6e6899b3b /tests/wpt/web-platform-tests/xhr/resources/parse-headers.py
parentafa1b85766caeb55254b739529aef205f04d3585 (diff)
downloadservo-db5824faf8b49b6e731ff05a4d35169b2c587956.tar.gz
servo-db5824faf8b49b6e731ff05a4d35169b2c587956.zip
Update web-platform-tests to revision 52ad8a87fb72bcf6950c20cced0d87f34e26dc81
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