import { byMethod } from "https://deno.land/x/http_fns@v0.0.27/method.ts";
Create a Request handler that delegates based on the HTTP Method of the Request.
This will also provide default implementations of HEAD (if GET is declared) and OPTIONS methods.
Parameters
handlers: Partial<Record<HttpMethod, (request: Request, ...args: A) => Awaitable<Response | null>>>
an object of handlers, where the key is the HTTP method