summaryrefslogtreecommitdiff
path: root/tests/content-length-05.sh
blob: f528c78e0104cb8d72377e01d3868bdc4b89b9b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

test x$srcdir = x && srcdir=.

. $srcdir/testbase.sh

prepare_test

cat > $TMPFILE <<EOF
Content-Length < 0
POST /12345.txt HTTP/1.0
Host: 123.example.org
Content-Length: 

Status: 411
EOF

run_test