Issue 10947: Send correct accept-header for AP
This commit is contained in:
parent
72a500ea08
commit
1219a4d00e
3 changed files with 9 additions and 13 deletions
|
@ -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 = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue