summaryrefslogtreecommitdiff
path: root/tests/request.t
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2023-01-01 18:58:52 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2023-01-01 18:58:52 -0500
commit3fded622b365769053b57b0dc21c30057bce47e2 (patch)
tree54642661533a4573b75933ed290779fefb133fdc /tests/request.t
parentff99a35c2e6b5ba982bcf46353c3ad2a24a9e7ca (diff)
downloadlighttpd-git-3fded622b365769053b57b0dc21c30057bce47e2.tar.gz
[tests] fix "deflate" tests for added zlib header
Diffstat (limited to 'tests/request.t')
-rwxr-xr-xtests/request.t4
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