Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SecurityPolicyAdvancedOptionsConfigJsonCustomConfig

import type { SecurityPolicyAdvancedOptionsConfigJsonCustomConfig } from "https://googleapis.deno.dev/v1/compute:v1.ts";
interface SecurityPolicyAdvancedOptionsConfigJsonCustomConfig {
contentTypes?: string[];
}

§Properties

§
contentTypes?: string[]
[src]

A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded.