Lines Matching refs:SHORTEST
25 SHORTEST = 3 # the shorter of QP and base64, but only for headers
62 'utf-8': (SHORTEST, BASE64, 'utf-8'),
118 quoted-printable, Charset.BASE64 for base64 encoding, Charset.SHORTEST for
119 the shortest of qp or base64 encoding, or None for no encoding. SHORTEST
134 if body_enc == SHORTEST:
135 raise ValueError('SHORTEST not allowed for body_enc')
182 base64 encoding), or Charset.SHORTEST for the shortest of
187 header encoding. Charset.SHORTEST is not allowed for
228 (SHORTEST, BASE64, None))
266 assert self.body_encoding != SHORTEST
344 elif self.header_encoding == SHORTEST:
372 elif self.header_encoding == SHORTEST: