import { Request } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v17.1.2/request.ts?p=prototype.accepts&s=Request";
Returns an array of media types, accepted by the requestor, in order of preference. If there are no encodings supplied by the requestor, then accepting any is implied is returned.
For a given set of media types, return the best match accepted by the
requestor. If there are no encoding that match, then the method returns
undefined
.
Parameters
...types: string[][src]