summaryrefslogtreecommitdiff
path: root/plugins/OStatus/actions/hostmeta.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/OStatus/actions/hostmeta.php')
-rw-r--r--plugins/OStatus/actions/hostmeta.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/OStatus/actions/hostmeta.php b/plugins/OStatus/actions/hostmeta.php
index 6d35ada6c..8ca07f916 100644
--- a/plugins/OStatus/actions/hostmeta.php
+++ b/plugins/OStatus/actions/hostmeta.php
@@ -36,13 +36,12 @@ class HostMetaAction extends Action
$url.= '?uri={uri}';
$xrd = new XRD();
-
- $xrd = new XRD();
$xrd->host = $domain;
$xrd->links[] = array('rel' => Discovery::LRDD_REL,
'template' => $url,
'title' => array('Resource Descriptor'));
+ header('Content-type: application/xrd+xml');
print $xrd->toXML();
}
}