Searched refs:body_encode (Results 1 – 17 of 17) sorted by relevance
/external/python/cpython2/Lib/email/ |
D | charset.py | 378 def body_encode(self, s, convert=True): member in Charset 393 return email.base64mime.body_encode(s) 395 return email.quoprimime.body_encode(s)
|
D | base64mime.py | 155 body_encode = encode variable
|
D | quoprimime.py | 261 body_encode = encode variable
|
D | message.py | 264 self._payload = charset.body_encode(self._payload) 270 self._payload = charset.body_encode(self._payload)
|
/external/python/cpython3/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)
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_email.py | 4246 len(base64mime.body_encode(b'hello', eol=''))) 4263 eq(base64mime.body_encode(b''), b'') 4264 eq(base64mime.body_encode(b'hello'), 'aGVsbG8=\n') 4266 eq(base64mime.body_encode(b'hello\n'), 'aGVsbG8K\n') 4268 eq(base64mime.body_encode(b'xxxx ' * 20, maxlinelen=40), """\ 4275 eq(base64mime.body_encode(b'xxxx ' * 20, maxlinelen=40, eol='\r\n'), 4504 encoded_body = quoprimime.body_encode(body, **kwargs) 4591 eq(quoprimime.body_encode(''), '') 4592 eq(quoprimime.body_encode('hello'), 'hello') 4594 eq(quoprimime.body_encode('hello\r\nworld'), 'hello\nworld') [all …]
|
/external/python/cpython2/Lib/email/test/ |
D | test_email_renamed.py | 2797 eq('hello w=F6rld', c.body_encode('hello w\xf6rld')) 2800 eq('aGVsbG8gd29ybGQ=\n', c.body_encode('hello world')) 2803 eq('hello world', c.body_encode('hello world')) 2809 c.body_encode('\xb5\xc6\xc3\xcf\xbb\xfe\xc9\xd7')) 2811 c.body_encode('\xb5\xc6\xc3\xcf\xbb\xfe\xc9\xd7', False)) 2821 eq('hello w\xf6rld', c.body_encode('hello w\xf6rld'))
|
D | test_email.py | 3035 eq('hello w=F6rld', c.body_encode('hello w\xf6rld')) 3038 eq('aGVsbG8gd29ybGQ=\n', c.body_encode('hello world')) 3041 eq('hello world', c.body_encode('hello world')) 3047 c.body_encode('\xb5\xc6\xc3\xcf\xbb\xfe\xc9\xd7')) 3049 c.body_encode('\xb5\xc6\xc3\xcf\xbb\xfe\xc9\xd7', False)) 3059 eq('hello w\xf6rld', c.body_encode('hello w\xf6rld'))
|
/external/python/cpython3/Doc/library/ |
D | email.charset.rst | 139 .. method:: body_encode(string)
|
/external/python/cpython3/Lib/ |
D | smtplib.py | 55 from email.base64mime import body_encode as encode_base64
|
/external/python/cpython2/Doc/library/ |
D | email.charset.rst | 173 .. method:: body_encode(s[, convert])
|
/external/python/cpython3/Lib/test/ |
D | test_smtplib.py | 5 from email.base64mime import body_encode as encode_base64
|
/external/python/cpython3/Misc/ |
D | HISTORY | 13339 - Charset.body_encode now correctly handles base64 encoding by encoding with the
|