aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Ap_probe.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-14 17:34:47 -0700
committerzotlabs <mike@macgirvin.com>2017-08-14 17:34:47 -0700
commit68f6043d44e65f0516b2374948b51ccc8ab241fc (patch)
tree412b8020dcc746c408b3ac3f8d40180af2e00244 /Zotlabs/Module/Ap_probe.php
parentba08555efc66e8b55f62ea74aa5e9fd403f85124 (diff)
downloadvolse-hubzilla-68f6043d44e65f0516b2374948b51ccc8ab241fc.tar.gz
volse-hubzilla-68f6043d44e65f0516b2374948b51ccc8ab241fc.tar.bz2
volse-hubzilla-68f6043d44e65f0516b2374948b51ccc8ab241fc.zip
new content type
Diffstat (limited to 'Zotlabs/Module/Ap_probe.php')
-rw-r--r--Zotlabs/Module/Ap_probe.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Ap_probe.php b/Zotlabs/Module/Ap_probe.php
index 29629a8eb..735a2d5a9 100644
--- a/Zotlabs/Module/Ap_probe.php
+++ b/Zotlabs/Module/Ap_probe.php
@@ -21,10 +21,10 @@ class Ap_probe extends \Zotlabs\Web\Controller {
$addr = $_GET['addr'];
if($_GET['magenv']) {
- $headers = 'Accept: application/magic-envelope+json, application/ld+json; profile="https://www.w3.org/ns/activitystreams"';
+ $headers = 'Accept: application/magic-envelope+json, application/activity+json, application/ld+json; profile="https://www.w3.org/ns/activitystreams"';
}
else {
- $headers = 'Accept: application/ld+json; profile="https://www.w3.org/ns/activitystreams"';
+ $headers = 'Accept: application/activity+json, application/ld+json; profile="https://www.w3.org/ns/activitystreams"';
}
$redirects = 0;