1
0
Fork 0

Issue 10947: Send correct accept-header for AP

This commit is contained in:
Michael 2021-11-03 19:06:07 +00:00
commit 1219a4d00e
3 changed files with 9 additions and 13 deletions

View file

@ -417,7 +417,7 @@ class HTTPSignature
* @return \Friendica\Network\HTTPClient\Capability\ICanHandleHttpResponses CurlResult
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
public static function fetchRaw($request, $uid = 0, $opts = ['accept_content' => ['application/activity+json', 'application/ld+json']])
public static function fetchRaw($request, $uid = 0, $opts = ['accept_content' => ['application/activity+json, application/ld+json; profile="https://www.w3.org/ns/activitystreams"']])
{
$header = [];