add X-XRDS-Location header

darcs-hash:20080530183528-84dde-c69c5d130c5951eec55613fc7ec7526c1fb13cfb.gz
This commit is contained in:
Evan Prodromou 2008-05-30 14:35:28 -04:00
parent a73a63758f
commit 2e707f5a2c

View File

@ -45,7 +45,12 @@ class ShowstreamAction extends StreamAction {
return; return;
} }
# Looks like we're good; show the header # Looks like we're good; start output
# For YADIS discovery, we also have a <meta> tag
header('X-XRDS-Location: '. common_local_url('xrds', array('nickname' =>
$user->nickname)));
common_show_header($profile->nickname, array($this, 'show_header'), $user); common_show_header($profile->nickname, array($this, 'show_header'), $user);