diff options
-rw-r--r-- | mod/hostxrd.php | 2 | ||||
-rw-r--r-- | 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'); |