make HEAD work for AtomPubShowSubscription
This commit is contained in:
		@@ -105,7 +105,9 @@ class AtompubshowsubscriptionAction extends ApiAuthAction
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    function handle($argarray=null)
 | 
					    function handle($argarray=null)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					        parent::handle($argarray);
 | 
				
			||||||
        switch ($_SERVER['REQUEST_METHOD']) {
 | 
					        switch ($_SERVER['REQUEST_METHOD']) {
 | 
				
			||||||
 | 
					        case 'HEAD':
 | 
				
			||||||
        case 'GET':
 | 
					        case 'GET':
 | 
				
			||||||
            $this->showSubscription();
 | 
					            $this->showSubscription();
 | 
				
			||||||
            break;
 | 
					            break;
 | 
				
			||||||
@@ -179,8 +181,6 @@ class AtompubshowsubscriptionAction extends ApiAuthAction
 | 
				
			|||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * Return last modified, if applicable.
 | 
					     * Return last modified, if applicable.
 | 
				
			||||||
     *
 | 
					     *
 | 
				
			||||||
     * MAY override
 | 
					 | 
				
			||||||
     *
 | 
					 | 
				
			||||||
     * @return string last modified http header
 | 
					     * @return string last modified http header
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user