diff options
Diffstat (limited to 'tests/post-01.sh')
-rwxr-xr-x | tests/post-01.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/post-01.sh b/tests/post-01.sh new file mode 100755 index 00000000..5f060091 --- /dev/null +++ b/tests/post-01.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +test x$srcdir = x && srcdir=. + +. $srcdir/testbase.sh + +prepare_test + +cat > $TMPFILE <<EOF +POST without Content-Length +POST / HTTP/1.0 + +Status: 411 +EOF + +run_test |