Adapt tests
This commit is contained in:
@@ -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'])) {
|
||||
|
||||
@@ -107,7 +107,6 @@ interface IHTTPClient
|
||||
*
|
||||
* @return string A canonical URL
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
* @see ParseUrl::getSiteinfo
|
||||
*/
|
||||
public function finalUrl(string $url);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user