mirror of
https://github.com/friendica/friendica
synced 2025-04-29 10:24:23 +02:00
Use appropriate "accept" values
This commit is contained in:
parent
3e21b035b7
commit
2ca51f752d
5 changed files with 18 additions and 17 deletions
|
@ -73,7 +73,7 @@ class Salmon
|
|||
$ret[$x] = substr($ret[$x], 5);
|
||||
}
|
||||
} elseif (Strings::normaliseLink($ret[$x]) == 'http://') {
|
||||
$ret[$x] = DI::httpClient()->fetch($ret[$x], 0, HttpClient::ACCEPT_DEFAULT);
|
||||
$ret[$x] = DI::httpClient()->fetch($ret[$x], 0, HttpClient::ACCEPT_MAGIC_KEY);
|
||||
Logger::debug('Fetched public key', ['url' => $ret[$x]]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue