Whether a token's typ header is one of the accepted types. The match is
case-insensitive and ignores an optional application/ media-type prefix on
either side (RFC 7515 §4.1.9). An empty accepted disables the check; an
absent (empty) typ matches nothing and is therefore rejected.
Whether a token's typ header is one of the accepted types. The match is case-insensitive and ignores an optional application/ media-type prefix on either side (RFC 7515 §4.1.9). An empty accepted disables the check; an absent (empty) typ matches nothing and is therefore rejected.