summaryrefslogtreecommitdiff
path: root/tests/request.t
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2022-04-05 18:09:11 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2022-04-08 06:33:02 -0400
commit7258624e51b4bdb1b79f19f6c31ca7814cabcee1 (patch)
tree19052efb2817dc39961552ee13e0ca7bc254d81c /tests/request.t
parentdcb5f2318b163028f4bb7a18b2211facbd997713 (diff)
downloadlighttpd-git-7258624e51b4bdb1b79f19f6c31ca7814cabcee1.tar.gz
[tests] able to run tests when built w/o pcre
perl test framework now runs most tests even when lighttpd has been built without pcre support, though some tests which rely on regex are skipped (tests/core-condition.t)
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 68829d5b..b25f4f96 100755
--- a/tests/request.t
+++ b/tests/request.t
@@ -1510,7 +1510,7 @@ Accept-Encoding: bzip2, gzip, deflate
Host: deflate-cache.example.org
EOF
);
-$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, '+Vary' => '', 'Content-Encoding' => 'gzip', 'Content-Type' => "text/plain; charset=utf-8" } ];
+$t->{RESPONSE} = [ { 'HTTP-Protocol' => 'HTTP/1.0', 'HTTP-Status' => 200, '+Vary' => '', 'Content-Encoding' => 'gzip', 'Content-Type' => "text/plain" } ];
ok($tf->handle_http($t) == 0, 'bzip2 requested but disabled');