summaryrefslogtreecommitdiff
path: root/tests/request.t
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2008-04-23 19:10:42 +0000
committerStefan Bühler <stbuehler@web.de>2008-04-23 19:10:42 +0000
commitac92ea361637fd6cf39e106ba6a38e65468775b1 (patch)
treed88c43778f52baf5750b2e3821e6d8c083fb7851 /tests/request.t
parent8dd78e06c76ab0b7c711192c25547118372d12bd (diff)
downloadlighttpd-git-ac92ea361637fd6cf39e106ba6a38e65468775b1.tar.gz
Allow all http status codes by default; disable body only for 204,205 and 304; generate error pages for 4xx and 5xx (#1639)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2154 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/request.t')
-rwxr-xr-xtests/request.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/request.t b/tests/request.t
index d2c88192..ab4f2d2c 100755
--- a/tests/request.t
+++ b/tests/request.t
@@ -101,7 +101,7 @@ Connection: close
Expect: 100-continue
EOF
);
-$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.1', 'HTTP-Status' => 417, '-HTTP-Content' => ''} ];
+$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.1', 'HTTP-Status' => 417 } ];
ok($tf->handle_http($t) == 0, 'Continue, Expect');
## ranges