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
1 changed files with 6 additions and 1 deletions

View File

@ -45,7 +45,12 @@ class ShowstreamAction extends StreamAction {
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);