import { type Oak } from "https://deno.land/x/oak_http_proxy@2.3.0/test/deps.ts";
const { BodyOptionsContentTypes } = Oak;
When setting the contentTypes
property of BodyOptions
, provide
additional content types which can influence how the body is decoded. This
is specifically designed to allow a server to support custom or specialized
media types that are not part of the public database.
Properties
Content types listed here will be parsed as form data and return
URLSearchParameters
as the value of the body.
Content types listed here will be parsed as from data and return a
FormDataBody
interface as the value of the body.