diff options
author | Stefan Bühler <stbuehler@web.de> | 2009-06-11 10:18:36 +0000 |
---|---|---|
committer | Stefan Bühler <stbuehler@web.de> | 2009-06-11 10:18:36 +0000 |
commit | 3af67d139238081356a1542f3eeb68ef6fd5fd3d (patch) | |
tree | f4786248a587e017356cedaf197783f3e1fd91a2 /tests/request.t | |
parent | 5204fd7e6c8006750ada3d3295972a18b2b5dcd6 (diff) | |
download | lighttpd-git-3af67d139238081356a1542f3eeb68ef6fd5fd3d.tar.gz |
Ignore multiple "If-None-Match" headers (only use first one, fixes #753)
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2528 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/request.t')
-rwxr-xr-x | tests/request.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/request.t b/tests/request.t index ab4f2d2c..0a35f571 100755 --- a/tests/request.t +++ b/tests/request.t @@ -280,7 +280,7 @@ If-None-Match: 5 If-None-Match: 4 EOF ); -$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 400 } ]; +$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200 } ]; ok($tf->handle_http($t) == 0, 'Duplicate If-None-Match headers'); $t->{REQUEST} = ( <<EOF |