summaryrefslogtreecommitdiff
path: root/tests/compress-04.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compress-04.sh')
-rwxr-xr-xtests/compress-04.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/compress-04.sh b/tests/compress-04.sh
new file mode 100755
index 00000000..c08f3975
--- /dev/null
+++ b/tests/compress-04.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+test x$srcdir = x && srcdir=.
+
+. $srcdir/testbase.sh
+
+prepare_test
+
+cat > $TMPFILE <<EOF
+Compression - gzip
+GET /index.txt HTTP/1.0
+Accept-Encoding: gzip, deflate
+Host: www.example.org
+
+Status: 200
+MIGHT: Content-Encoding Vary
+EOF
+
+run_test