Validate and parse a Content-Type header value. More secure against content-type sniffing attacks. Delegates to headers.ts for the actual parsing.
The raw Content-Type header string.
Parsed ContentTypeInfo, or null if invalid/empty/too long.
Validate and parse a Content-Type header value. More secure against content-type sniffing attacks. Delegates to headers.ts for the actual parsing.