Fix FPM tests for PHP 8

This commit is contained in:
Nikita Popov 2019-05-29 17:31:10 +02:00
parent 45a0656e95
commit 4241258d74

View File

@ -174,7 +174,7 @@ class Response
{
// check default headers
return (
$this->checkHeader('X-Powered-By', '|^PHP/7|', true) &&
$this->checkHeader('X-Powered-By', '|^PHP/8|', true) &&
$this->checkHeader('Content-type', '|^' . $contentType . '(;\s?charset=\w+)?|', true)
);
}