Home | History | Annotate | Download | only in email

Lines Matching refs:base64

24 BASE64      = 2 # Base64
25 SHORTEST = 3 # the shorter of QP and base64, but only for headers
56 'big5': (BASE64, BASE64, None),
57 'gb2312': (BASE64, BASE64, None),
58 'euc-jp': (BASE64, None, 'iso-2022-jp'),
59 'shift_jis': (BASE64, None, 'iso-2022-jp'),
60 'iso-2022-jp': (BASE64, None, None),
61 'koi8-r': (BASE64, BASE64, None),
62 'utf-8': (SHORTEST, BASE64, 'utf-8'),
64 '8bit': (None, 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
170 Certain character sets must be encoded with quoted-printable or base64
181 Charset.QP (for quoted-printable), Charset.BASE64 (for
182 base64 encoding), or Charset.SHORTEST for the shortest of
183 QP or BASE64 encoding. Otherwise, it will be None.
228 (SHORTEST, BASE64, None))
256 This is either the string `quoted-printable' or `base64' depending on
263 Returns "base64" if self.body_encoding is BASE64.
269 elif self.body_encoding == BASE64:
270 return 'base64'
340 if self.header_encoding == BASE64:
361 The type of encoding (base64 or quoted-printable) will be based on
368 if self.header_encoding == BASE64:
390 The type of encoding (base64 or quoted-printable) will be based on
396 if self.body_encoding is BASE64: