We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 34b8eb20 authored by Evan Prodromou's avatar Evan Prodromou

make HEAD work for AtomPubShowSubscription

parent 11a0bde4
......@@ -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
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment