correct content-type on XRDS document
darcs-hash:20080530181029-84dde-58de78ad1bef7a5c540a0315470bc24ddc59b04b.gz
This commit is contained in:
parent
b899ff617f
commit
3a20f1202b
|
@ -83,8 +83,6 @@ class RemotesubscribeAction extends Action {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
print_r($yadis);
|
|
||||||
|
|
||||||
$omb = $this->getOmb($yadis);
|
$omb = $this->getOmb($yadis);
|
||||||
|
|
||||||
if (!$omb) {
|
if (!$omb) {
|
||||||
|
|
|
@ -36,7 +36,7 @@ class XrdsAction extends Action {
|
||||||
|
|
||||||
function show_xrds($user) {
|
function show_xrds($user) {
|
||||||
|
|
||||||
header('Content-Type: application/rdf+xml');
|
header('Content-Type: application/xrds+xml');
|
||||||
|
|
||||||
common_start_xml();
|
common_start_xml();
|
||||||
common_element_start('XRDS', array('xmlns' => 'xri://$xrds'));
|
common_element_start('XRDS', array('xmlns' => 'xri://$xrds'));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user