import { byMediaType } from "https://deno.land/x/http_fns@v0.0.27/media_type.ts";
Create a Request handler that delegates based on the desired media-type of the Request.
The media-type is determined by extension on the URL path if it has one, otherwise it
will examine the Accept
header and choose the most appropriate type supplied.
Parameters
handlers: MediaTypeHandlers<A>
an object of handlers, where the key is the media-type
called when the URL has an extension but no handler matches, defaults to returning a Not Found response