diff options
Diffstat (limited to 'tests/content-length-02.sh')
-rwxr-xr-x | tests/content-length-02.sh | 18 |
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 |