aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-15 21:47:01 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-15 21:47:01 -0700
commit4c5a74284bb1c2e23ef1e40c09d10f3449f8c853 (patch)
tree807a02a553eaf3ac9fce51ab8351c6dd637f10e0 /mod
parentd0a3cfe76538ac50a2f03a48d723fdf10937a283 (diff)
downloadvolse-hubzilla-4c5a74284bb1c2e23ef1e40c09d10f3449f8c853.tar.gz
volse-hubzilla-4c5a74284bb1c2e23ef1e40c09d10f3449f8c853.tar.bz2
volse-hubzilla-4c5a74284bb1c2e23ef1e40c09d10f3449f8c853.zip
serve as application/xrd+xml
Diffstat (limited to 'mod')
-rw-r--r--mod/hostxrd.php2
-rw-r--r--mod/xrd.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/hostxrd.php b/mod/hostxrd.php
index 24bd7b048..0e18c133b 100644
--- a/mod/hostxrd.php
+++ b/mod/hostxrd.php
@@ -2,7 +2,7 @@
function hostxrd_init(&$a) {
header('Access-Control-Allow-Origin: *');
- header("Content-type: text/xml");
+ header("Content-type: application/xrd+xml");
logger('hostxrd',LOGGER_DEBUG);
$tpl = get_markup_template('xrd_host.tpl');
diff --git a/mod/xrd.php b/mod/xrd.php
index a3a73dc4f..a373f8bf5 100644
--- a/mod/xrd.php
+++ b/mod/xrd.php
@@ -32,7 +32,7 @@ function xrd_init(&$a) {
$salmon_key = salmon_key($r[0]['channel_pubkey']);
header('Access-Control-Allow-Origin: *');
- header("Content-type: text/xml");
+ header("Content-type: application/xrd+xml");
$tpl = get_markup_template('view/xrd_person.tpl');