aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/ActivityStreams2.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-07-17 22:17:40 -0700
committerzotlabs <mike@macgirvin.com>2017-07-17 22:17:40 -0700
commitd8c93c0d13133d336e2cc3dbf3c48e0a6350c2d6 (patch)
tree046c636a6bdc05d9c5a2f2571476731b47fba373 /Zotlabs/Lib/ActivityStreams2.php
parent42abc2201c8e7c3798ddfe2fd32300d211035364 (diff)
downloadvolse-hubzilla-d8c93c0d13133d336e2cc3dbf3c48e0a6350c2d6.tar.gz
volse-hubzilla-d8c93c0d13133d336e2cc3dbf3c48e0a6350c2d6.tar.bz2
volse-hubzilla-d8c93c0d13133d336e2cc3dbf3c48e0a6350c2d6.zip
activitypub, cont.
Diffstat (limited to 'Zotlabs/Lib/ActivityStreams2.php')
-rw-r--r--Zotlabs/Lib/ActivityStreams2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ActivityStreams2.php b/Zotlabs/Lib/ActivityStreams2.php
index 46852886b..904782bf7 100644
--- a/Zotlabs/Lib/ActivityStreams2.php
+++ b/Zotlabs/Lib/ActivityStreams2.php
@@ -43,7 +43,7 @@ class ActivityStreams2 {
function fetch_property($url) {
$redirects = 0;
$x = z_fetch_url($url,true,$redirects,
- ['headers' => [ 'Accept' => 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"']]);
+ ['headers' => [ 'Accept: application/ld+json; profile="https://www.w3.org/ns/activitystreams"']]);
if($x['success'])
return json_decode($x['body'],true);
return null;