make HEAD work for AtomPubShowSubscription
This commit is contained in:
parent
11a0bde459
commit
34b8eb207d
|
@ -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
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user