a simpler variant that is easily doable is to support this:
– HttpMethodRouteSelector accepts a collection of methods to match
- route(method: HttpMethod, …) accepts a collection (this is a method that is called by get/post/delete functions)
- use
route(”/”, HttpMethod.GET, HttpMethod.HEAD)
instead