summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-30 14:10:29 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-30 14:10:29 -0400
commit3a20f1202b032b755f657d42379fe1137cf7c699 (patch)
tree4e5acd4541830220bffb94d86ff65326f32a94b8 /actions
parentb899ff617f757e234d1954d4c71e4d55e739a1dd (diff)
correct content-type on XRDS document
darcs-hash:20080530181029-84dde-58de78ad1bef7a5c540a0315470bc24ddc59b04b.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/remotesubscribe.php2
-rw-r--r--actions/xrds.php2
2 files changed, 1 insertions, 3 deletions
diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php
index 8c8ddf1f3..ca69b174e 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 d59928e91..7448b50f7 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'));