mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 09:15:19 +00:00
change back to the ugly content-type
This commit is contained in:
parent
5951fa56ae
commit
2e9336beb5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue