import { acceptsLanguages } from "https://dotland.deno.dev/std@0.181.0/http/mod.ts";
Returns an array of languages accepted by the request, in order of
preference. If there are no languages supplied in the request, then ["*"]
is returned, imply any language is accepted.
Parameters
request: Request
For a given set of languages, return the best match accepted in the request.
If no languages match, then the function returns undefined
.
Parameters
request: Request