summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-12-09 14:25:57 -0500
committerEvan Prodromou <evan@status.net>2010-12-09 14:25:57 -0500
commit34b8eb207d3d013ca36966ddb32a4977bd21639f (patch)
tree9f08c662d8fc47909f48ee09b40c7781d9a2983c
parent11a0bde4595d2779b2587398c4b69bfcee116880 (diff)
make HEAD work for AtomPubShowSubscription
-rw-r--r--actions/atompubshowsubscription.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/atompubshowsubscription.php b/actions/atompubshowsubscription.php
index a30b21096..55ba68adc 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
*/