From 34b8eb207d3d013ca36966ddb32a4977bd21639f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 9 Dec 2010 14:25:57 -0500 Subject: [PATCH] make HEAD work for AtomPubShowSubscription --- actions/atompubshowsubscription.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */