Fix: Wrong HTTP method creates wrong exception

Wrong HTTP method results in `NotFoundException` instead of `MethodNotAllowedException` for static URIs.