ParserOptions.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.

class ParserOptions
getParameterComplianceMode
()

Return Value

Type: gmime.types.RfcComplianceMode

the compliance mode that is currently set.