ParserOptions.getParameterComplianceMode

gmime.types.RfcComplianceMode getParameterComplianceMode()

Gets the compliance mode that should be used when parsing Content-Type and Content-Disposition parameters.

Note

Even in #GMIME_RFC_COMPLIANCE_STRICT mode, the parameter parser is fairly liberal

in what it accepts. Setting it to #GMIME_RFC_COMPLIANCE_LOOSE just makes it try harder to deal with garbage input.

Returns

the compliance mode that is currently set.