Adapt tests

This commit is contained in:
Philipp
2021-08-23 15:47:41 +02:00
parent 8385ee7a61
commit 3eb2abdb2a
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'])) {