aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/encoding/resources/single-byte-raw.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/encoding/resources/single-byte-raw.py')
m---------tests/wpt/web-platform-tests0
-rw-r--r--tests/wpt/web-platform-tests/encoding/resources/single-byte-raw.py3
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests b/tests/wpt/web-platform-tests
deleted file mode 160000
-Subproject 29dfb8944e535d439ca94cf7d1b1d9138a8ad11
diff --git a/tests/wpt/web-platform-tests/encoding/resources/single-byte-raw.py b/tests/wpt/web-platform-tests/encoding/resources/single-byte-raw.py
new file mode 100644
index 00000000000..b4a6c90405e
--- /dev/null
+++ b/tests/wpt/web-platform-tests/encoding/resources/single-byte-raw.py
@@ -0,0 +1,3 @@
+def main(request, response):
+ response.headers.set("Content-Type", "text/plain;charset=" + request.GET.first("label"))
+ response.content = "".join(chr(byte) for byte in xrange(255))