import { accepts } from "https://deno.land/x/workers_middleware@v0.1.0-pre.36/content-negotiation.ts";
Determines if a request body content type is acceptable to this endpoint.
Type Parameters
TS extends readonly T[]
x/workers_middleware/content-negotiation.ts>accepts
import { accepts } from "https://deno.land/x/workers_middleware@v0.1.0-pre.36/content-negotiation.ts";
Determines if a request body content type is acceptable to this endpoint.