mirror of
https://github.com/friendica/friendica
synced 2025-05-05 19:44:09 +02:00
Some more "accept" parameters are added
This commit is contained in:
parent
173e72169b
commit
1fae0123ec
32 changed files with 111 additions and 60 deletions
|
@ -26,6 +26,7 @@ use Friendica\Core\Logger;
|
|||
use Friendica\Core\Worker;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Network\HTTPClient\Client\HttpClient;
|
||||
|
||||
/**
|
||||
* Sends updated profile data to the directory
|
||||
|
@ -53,7 +54,7 @@ class Directory
|
|||
|
||||
Logger::info('Updating directory: ' . $arr['url']);
|
||||
if (strlen($arr['url'])) {
|
||||
DI::httpClient()->fetch($dir . '?url=' . bin2hex($arr['url']));
|
||||
DI::httpClient()->fetch($dir . '?url=' . bin2hex($arr['url']), 0, HttpClient::ACCEPT_DEFAULT);
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue