]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
make HEAD work for AtomPubShowSubscription
authorEvan Prodromou <evan@status.net>
Thu, 9 Dec 2010 19:25:57 +0000 (14:25 -0500)
committerEvan Prodromou <evan@status.net>
Thu, 9 Dec 2010 19:25:57 +0000 (14:25 -0500)
actions/atompubshowsubscription.php

index a30b2109637ae0ced90691e5005aeef25351536e..55ba68adc5c49a4c0f6af76036e63d70f41f9735 100644 (file)
@@ -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
      */