mirror of
https://github.com/friendica/friendica
synced 2025-05-06 20:24: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
|
@ -220,7 +220,7 @@ class Images
|
|||
}
|
||||
|
||||
if (empty($img_str)) {
|
||||
$img_str = DI::httpClient()->fetch($url, 4, HttpClientAccept::IMAGE);
|
||||
$img_str = DI::httpClient()->fetch($url, HttpClientAccept::IMAGE, 4);
|
||||
}
|
||||
|
||||
if (!$img_str) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue