From 3a20f1202b032b755f657d42379fe1137cf7c699 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 30 May 2008 14:10:29 -0400 Subject: [PATCH] correct content-type on XRDS document darcs-hash:20080530181029-84dde-58de78ad1bef7a5c540a0315470bc24ddc59b04b.gz --- actions/remotesubscribe.php | 2 -- actions/xrds.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php index 8c8ddf1f33..ca69b174e4 100644 --- a/actions/remotesubscribe.php +++ b/actions/remotesubscribe.php @@ -83,8 +83,6 @@ class RemotesubscribeAction extends Action { return; } - print_r($yadis); - $omb = $this->getOmb($yadis); if (!$omb) { diff --git a/actions/xrds.php b/actions/xrds.php index d59928e91c..7448b50f7d 100644 --- a/actions/xrds.php +++ b/actions/xrds.php @@ -36,7 +36,7 @@ class XrdsAction extends Action { function show_xrds($user) { - header('Content-Type: application/rdf+xml'); + header('Content-Type: application/xrds+xml'); common_start_xml(); common_element_start('XRDS', array('xmlns' => 'xri://$xrds')); -- 2.39.5