summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fetch/content-encoding/gzip/resources
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/fetch/content-encoding/gzip/resources
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/fetch/content-encoding/gzip/resources')
-rw-r--r--testing/web-platform/tests/fetch/content-encoding/gzip/resources/bad-gzip-body.py3
-rw-r--r--testing/web-platform/tests/fetch/content-encoding/gzip/resources/big.text.gzbin0 -> 65509 bytes
-rw-r--r--testing/web-platform/tests/fetch/content-encoding/gzip/resources/big.text.gz.headers3
-rw-r--r--testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.octetstream.gzbin0 -> 64 bytes
-rw-r--r--testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.octetstream.gz.headers2
-rw-r--r--testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.text.gzbin0 -> 57 bytes
-rw-r--r--testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.text.gz.headers2
7 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/fetch/content-encoding/gzip/resources/bad-gzip-body.py b/testing/web-platform/tests/fetch/content-encoding/gzip/resources/bad-gzip-body.py
new file mode 100644
index 0000000000..a79b94ed04
--- /dev/null
+++ b/testing/web-platform/tests/fetch/content-encoding/gzip/resources/bad-gzip-body.py
@@ -0,0 +1,3 @@
+def main(request, response):
+ headers = [(b"Content-Encoding", b"gzip")]
+ return headers, b"not actually gzip"
diff --git a/testing/web-platform/tests/fetch/content-encoding/gzip/resources/big.text.gz b/testing/web-platform/tests/fetch/content-encoding/gzip/resources/big.text.gz
new file mode 100644
index 0000000000..13441bc399
--- /dev/null
+++ b/testing/web-platform/tests/fetch/content-encoding/gzip/resources/big.text.gz
Binary files differ
diff --git a/testing/web-platform/tests/fetch/content-encoding/gzip/resources/big.text.gz.headers b/testing/web-platform/tests/fetch/content-encoding/gzip/resources/big.text.gz.headers
new file mode 100644
index 0000000000..55d2345c23
--- /dev/null
+++ b/testing/web-platform/tests/fetch/content-encoding/gzip/resources/big.text.gz.headers
@@ -0,0 +1,3 @@
+Content-type: text/plain
+Content-Encoding: gzip
+Cache-Control: no-store
diff --git a/testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.octetstream.gz b/testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.octetstream.gz
new file mode 100644
index 0000000000..f3df4cb89b
--- /dev/null
+++ b/testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.octetstream.gz
Binary files differ
diff --git a/testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.octetstream.gz.headers b/testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.octetstream.gz.headers
new file mode 100644
index 0000000000..27d4f401f1
--- /dev/null
+++ b/testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.octetstream.gz.headers
@@ -0,0 +1,2 @@
+Content-type: application/octet-stream
+Content-Encoding: gzip
diff --git a/testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.text.gz b/testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.text.gz
new file mode 100644
index 0000000000..05a5cce07b
--- /dev/null
+++ b/testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.text.gz
Binary files differ
diff --git a/testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.text.gz.headers b/testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.text.gz.headers
new file mode 100644
index 0000000000..7def3ddc14
--- /dev/null
+++ b/testing/web-platform/tests/fetch/content-encoding/gzip/resources/foo.text.gz.headers
@@ -0,0 +1,2 @@
+Content-type: text/plain
+Content-Encoding: gzip