change back to the ugly content-type
This commit is contained in:
parent
5951fa56ae
commit
2e9336beb5
@ -156,7 +156,7 @@ class ActivityStreams {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$x = z_fetch_url($url,true,$redirects,
|
$x = z_fetch_url($url,true,$redirects,
|
||||||
['headers' => [ 'Accept: application/activity+json, application/ld+json; profile="https://www.w3.org/ns/activitystreams"']]);
|
['headers' => [ 'Accept: application/ld+json; profile="https://www.w3.org/ns/activitystreams", application/activity+json' ]]);
|
||||||
if($x['success'])
|
if($x['success'])
|
||||||
return json_decode($x['body'],true);
|
return json_decode($x['body'],true);
|
||||||
return null;
|
return null;
|
||||||
|
Reference in New Issue
Block a user