Adapt tests

This commit is contained in:
Philipp 2021-08-23 15:47:41 +02:00
parent 8385ee7a61
commit 3eb2abdb2a
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
8 changed files with 90 additions and 43 deletions

View file

@ -92,11 +92,6 @@ class HTTPClient implements IHTTPClient
return CurlResult::createErrorCurl($url);
}
if (Network::isRedirectBlocked($url)) {
$this->logger->info('Domain should not be redirected.', ['url' => $url]);
return CurlResult::createErrorCurl($url);
}
$conf = [];
if (!empty($opts['cookiejar'])) {