From: Evan Prodromou Date: Thu, 9 Dec 2010 19:25:57 +0000 (-0500) Subject: make HEAD work for AtomPubShowSubscription X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=34b8eb207d3d013ca36966ddb32a4977bd21639f;p=quix0rs-gnu-social.git make HEAD work for AtomPubShowSubscription --- diff --git a/actions/atompubshowsubscription.php b/actions/atompubshowsubscription.php index a30b210963..55ba68adc5 100644 --- a/actions/atompubshowsubscription.php +++ b/actions/atompubshowsubscription.php @@ -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 */