]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
correct content-type on XRDS document
authorEvan Prodromou <evan@prodromou.name>
Fri, 30 May 2008 18:10:29 +0000 (14:10 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 30 May 2008 18:10:29 +0000 (14:10 -0400)
darcs-hash:20080530181029-84dde-58de78ad1bef7a5c540a0315470bc24ddc59b04b.gz

actions/remotesubscribe.php
actions/xrds.php

index 8c8ddf1f336482d4e6164a2737fac45fd3aba7fc..ca69b174e4468cf6d2251f906eaa03e5449a4b24 100644 (file)
@@ -83,8 +83,6 @@ class RemotesubscribeAction extends Action {
                        return;
                }
 
-               print_r($yadis);
-               
                $omb = $this->getOmb($yadis);
                
                if (!$omb) {
index d59928e91cea04cba93993f779faaa2d4c20ea78..7448b50f7d145b8972391793d02057230e02d1f0 100644 (file)
@@ -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'));