diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2023-01-01 18:58:52 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2023-01-01 18:58:52 -0500 |
commit | 3fded622b365769053b57b0dc21c30057bce47e2 (patch) | |
tree | 54642661533a4573b75933ed290779fefb133fdc /tests/request.t | |
parent | ff99a35c2e6b5ba982bcf46353c3ad2a24a9e7ca (diff) | |
download | lighttpd-git-3fded622b365769053b57b0dc21c30057bce47e2.tar.gz |
[tests] fix "deflate" tests for added zlib header
Diffstat (limited to 'tests/request.t')
-rwxr-xr-x | tests/request.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/request.t b/tests/request.t index 3fdb1ab6..61979501 100755 --- a/tests/request.t +++ b/tests/request.t @@ -1443,7 +1443,7 @@ Accept-Encoding: deflate Host: deflate.example.org EOF ); -$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, '+Vary' => '', 'Content-Length' => '1288', '+Content-Encoding' => '' } ]; +$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, '+Vary' => '', 'Content-Length' => '1294', '+Content-Encoding' => '' } ]; ok($tf->handle_http($t) == 0, 'deflate - Content-Length and Content-Encoding is set'); $t->{REQUEST} = ( <<EOF @@ -1452,7 +1452,7 @@ Accept-Encoding: deflate Host: deflate-cache.example.org EOF ); -$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, '+Vary' => '', 'Content-Length' => '1288', '+Content-Encoding' => '' } ]; +$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, '+Vary' => '', 'Content-Length' => '1294', '+Content-Encoding' => '' } ]; ok($tf->handle_http($t) == 0, 'deflate - Content-Length and Content-Encoding is set'); $t->{REQUEST} = ( <<EOF |