Lines Matching defs:SHORTEST
26 SHORTEST = 3 # the shorter of QP and base64, but only for headers
65 'utf-8': (SHORTEST, BASE64, 'utf-8'),
119 quoted-printable, Charset.BASE64 for base64 encoding, Charset.SHORTEST for
120 the shortest of qp or base64 encoding, or None for no encoding. SHORTEST
135 if body_enc == SHORTEST:
136 raise ValueError('SHORTEST not allowed for body_enc')
194 base64 encoding), or Charset.SHORTEST for the shortest of
199 header encoding. Charset.SHORTEST is not allowed for
235 (SHORTEST, BASE64, None))
270 assert self.body_encoding != SHORTEST
372 elif self.header_encoding == SHORTEST: