diff --git a/flight/net/Router.php b/flight/net/Router.php index f739a24..43c3f18 100644 --- a/flight/net/Router.php +++ b/flight/net/Router.php @@ -107,6 +107,10 @@ class Router $methods = explode('|', $method); } + if (in_array('GET', $methods) && !in_array('HEAD', $methods)) { + $methods[] = 'HEAD'; + } + // And this finishes it off. if ($this->group_prefix !== '') { $url = rtrim($this->group_prefix . $url);