From 4c5a74284bb1c2e23ef1e40c09d10f3449f8c853 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 15 Sep 2015 21:47:01 -0700 Subject: serve as application/xrd+xml --- mod/hostxrd.php | 2 +- mod/xrd.php | 2 +- 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'); -- cgit v1.2.3