- check the content for the send404 case too
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1903 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
parent
05d9e7dd52
commit
bafcebe06d
|
@ -69,7 +69,7 @@ $t->{REQUEST} = ( <<EOF
|
|||
GET /send404.pl HTTP/1.0
|
||||
EOF
|
||||
);
|
||||
$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 404 } ];
|
||||
$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 404, 'HTTP-Content' => "send404\n" } ];
|
||||
ok($tf->handle_http($t) == 0, '404 generated by CGI should stay 404');
|
||||
|
||||
ok($tf->stop_proc == 0, "Stopping lighttpd");
|
||||
|
|
Loading…
Reference in New Issue