From: Evan Prodromou Date: Fri, 30 May 2008 18:10:29 +0000 (-0400) Subject: correct content-type on XRDS document X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3a20f1202b032b755f657d42379fe1137cf7c699;p=quix0rs-gnu-social.git correct content-type on XRDS document darcs-hash:20080530181029-84dde-58de78ad1bef7a5c540a0315470bc24ddc59b04b.gz --- 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'));