mirror of
https://github.com/friendica/friendica
synced 2025-05-05 17:04:11 +02:00
Introduce "accept_header" as specific argument to the http client
This commit is contained in:
parent
73c3b21665
commit
e299fc67c8
35 changed files with 150 additions and 150 deletions
|
@ -35,7 +35,7 @@ class NodeInfo
|
|||
// Now trying to register
|
||||
$url = 'http://the-federation.info/register/' . DI::baseUrl()->getHostname();
|
||||
Logger::debug('Check registering url', ['url' => $url]);
|
||||
$ret = DI::httpClient()->fetch($url, 0, HttpClientAccept::HTML);
|
||||
$ret = DI::httpClient()->fetch($url, HttpClientAccept::HTML);
|
||||
Logger::debug('Check registering answer', ['answer' => $ret]);
|
||||
Logger::info('end');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue