summaryrefslogtreecommitdiff
path: root/tests/content-length-02.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/content-length-02.sh')
-rwxr-xr-xtests/content-length-02.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/content-length-02.sh b/tests/content-length-02.sh
new file mode 100755
index 00000000..a271b224
--- /dev/null
+++ b/tests/content-length-02.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+test x$srcdir = x && srcdir=.
+
+. $srcdir/testbase.sh
+
+prepare_test
+
+cat > $TMPFILE <<EOF
+Content-Length, HTML
+GET /12345.txt HTTP/1.0
+Host: 123.example.org
+
+Status: 200
+Content-Length: 6
+EOF
+
+run_test