aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-20 23:42:57 -0700
committerzotlabs <mike@macgirvin.com>2017-09-20 23:42:57 -0700
commit2e9336beb5c3881b7f17cd4ffca29894344c779c (patch)
tree180baf44110e8c1ca982a582d1c5cc43a713f69f
parent5951fa56aee7a7b972cdcc8e26c7c754a69057db (diff)
downloadvolse-hubzilla-2e9336beb5c3881b7f17cd4ffca29894344c779c.tar.gz
volse-hubzilla-2e9336beb5c3881b7f17cd4ffca29894344c779c.tar.bz2
volse-hubzilla-2e9336beb5c3881b7f17cd4ffca29894344c779c.zip
change back to the ugly content-type
-rw-r--r--Zotlabs/Lib/ActivityStreams.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ActivityStreams.php b/Zotlabs/Lib/ActivityStreams.php
index 10ae24670..379e78a59 100644
--- a/Zotlabs/Lib/ActivityStreams.php
+++ b/Zotlabs/Lib/ActivityStreams.php
@@ -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;