make HEAD work for AtomPubShowSubscription

This commit is contained in:
Evan Prodromou 2010-12-09 14:25:57 -05:00
parent 11a0bde459
commit 34b8eb207d

View File

@ -105,7 +105,9 @@ class AtompubshowsubscriptionAction extends ApiAuthAction
function handle($argarray=null)
{
parent::handle($argarray);
switch ($_SERVER['REQUEST_METHOD']) {
case 'HEAD':
case 'GET':
$this->showSubscription();
break;
@ -179,8 +181,6 @@ class AtompubshowsubscriptionAction extends ApiAuthAction
/**
* Return last modified, if applicable.
*
* MAY override
*
* @return string last modified http header
*/