make HEAD work for AtomPubShowSubscription

This commit is contained in:
Evan Prodromou 2010-12-09 14:25:57 -05:00
parent 11a0bde459
commit 34b8eb207d
1 changed files with 2 additions and 2 deletions

View File

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