import { accepts } from "https://deno.land/x/frugal@0.3.0/dep/std/http.ts";
Returns an array of media types accepted by the request, in order of preference. If there are no media types supplied in the request, then any media type selector will be returned.
Parameters
request: Request
For a given set of media types, return the best match accepted in the
request. If no media type matches, then the function returns undefined
.
Parameters
request: Request