protected function invoke_options()
{
$req = new Zaphpa_Request();
$res = new Zaphpa_Response($req);
/* Call preprocessors on each middleware impl */
foreach (self::$middleware as $m) {
if ($m->shouldRun('preroute')) {
$m->preroute($req, $res);
}
}
$res->setFormat("httpd/unix-directory");
header("Allow: " . implode(",", array_map('strtoupper', Zaphpa_Router::$methods)));
$res->send(200);
return true;
}