Searched refs:body_encode (Results 1 – 11 of 11) sorted by relevance
/third_party/python/Lib/email/ |
D | charset.py | 375 def body_encode(self, string): member in Charset 389 return email.base64mime.body_encode(string) 400 return email.quoprimime.body_encode(string)
|
D | base64mime.py | 76 def body_encode(s, maxlinelen=76, eol=NL): function
|
D | contentmanager.py | 157 sniff_qp = quoprimime.body_encode(sniff.decode('latin-1'), 172 data = quoprimime.body_encode(normal_body(lines).decode('latin-1'),
|
D | quoprimime.py | 152 def body_encode(body, maxlinelen=76, eol=NL): function
|
D | message.py | 352 self._payload = charset.body_encode(self._payload) 367 self._payload = charset.body_encode(payload)
|
/third_party/python/Lib/test/test_email/ |
D | test_email.py | 4269 len(base64mime.body_encode(b'hello', eol=''))) 4286 eq(base64mime.body_encode(b''), '') 4287 eq(base64mime.body_encode(b'hello'), 'aGVsbG8=\n') 4289 eq(base64mime.body_encode(b'hello\n'), 'aGVsbG8K\n') 4291 eq(base64mime.body_encode(b'xxxx ' * 20, maxlinelen=40), """\ 4298 eq(base64mime.body_encode(b'xxxx ' * 20, maxlinelen=40, eol='\r\n'), 4526 encoded_body = quoprimime.body_encode(body, **kwargs) 4613 eq(quoprimime.body_encode(''), '') 4614 eq(quoprimime.body_encode('hello'), 'hello') 4616 eq(quoprimime.body_encode('hello\r\nworld'), 'hello\nworld') [all …]
|
/third_party/python/Doc/library/ |
D | email.charset.rst | 139 .. method:: body_encode(string)
|
/third_party/python/Lib/ |
D | smtplib.py | 55 from email.base64mime import body_encode as encode_base64
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0a7.rst | 619 Return empty string if base64mime.body_encode receive empty bytes
|
/third_party/python/Lib/test/ |
D | test_smtplib.py | 4 from email.base64mime import body_encode as encode_base64
|
/third_party/python/Misc/ |
D | HISTORY | 13339 - Charset.body_encode now correctly handles base64 encoding by encoding with the
|