mirror of
https://github.com/friendica/friendica
synced 2025-05-05 19: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
|
@ -54,7 +54,7 @@ class Directory
|
|||
|
||||
Logger::info('Updating directory: ' . $arr['url']);
|
||||
if (strlen($arr['url'])) {
|
||||
DI::httpClient()->fetch($dir . '?url=' . bin2hex($arr['url']), 0, HttpClientAccept::HTML);
|
||||
DI::httpClient()->fetch($dir . '?url=' . bin2hex($arr['url']), HttpClientAccept::HTML);
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue