change back to the ugly content-type

This commit is contained in:
zotlabs 2017-09-20 23:42:57 -07:00
parent 5951fa56ae
commit 2e9336beb5

View file

@ -156,7 +156,7 @@ class ActivityStreams {
}
$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'])
return json_decode($x['body'],true);
return null;