Searched refs:body_encode (Results 1 - 8 of 8) sorted by relevance
/third_party/python/Lib/email/ |
H A D | charset.py | 380 def body_encode(self, string): 394 return email.base64mime.body_encode(string) 396 # quopromime.body_encode takes a string, but operates on it as if 401 # between 0 and 255, which is what body_encode is expecting. 405 return email.quoprimime.body_encode(string) 375 def body_encode(self, string): global() member in Charset
|
H A D | base64mime.py | 29 'body_encode', 79 def body_encode(s, maxlinelen=76, eol=NL): 76 def body_encode(s, maxlinelen=76, eol=NL): global() function
|
H A D | contentmanager.py | 131 # XXX: This is a cleaned-up version of base64mime.body_encode (including a bug 133 # drop both this and quoprimime.body_encode in favor of enhanced binascii 159 sniff_qp = quoprimime.body_encode(sniff.decode('latin-1'), 174 data = quoprimime.body_encode(normal_body(lines).decode('latin-1'), 237 # XXX: quoprimime.body_encode won't encode newline characters in data,
|
H A D | quoprimime.py | 31 'body_encode', 153 def body_encode(body, maxlinelen=76, eol=NL): function
|
H A D | message.py | 379 self._payload = charset.body_encode(self._payload) 394 self._payload = charset.body_encode(payload)
|
/third_party/python/Lib/test/test_email/ |
H A D | test_email.py | 4326 len(base64mime.body_encode(b'hello', eol=''))) 4343 eq(base64mime.body_encode(b''), '') 4344 eq(base64mime.body_encode(b'hello'), 'aGVsbG8=\n') 4346 eq(base64mime.body_encode(b'hello\n'), 'aGVsbG8K\n') 4348 eq(base64mime.body_encode(b'xxxx ' * 20, maxlinelen=40), """\ 4355 eq(base64mime.body_encode(b'xxxx ' * 20, maxlinelen=40, eol='\r\n'), 4574 # Use body_encode's default. 4579 # Use body_encode's default. 4583 encoded_body = quoprimime.body_encode(body, **kwargs) 4617 # XXX: body_encode() expec [all...] |
/third_party/python/Lib/ |
H A D | smtplib.py | 55 from email.base64mime import body_encode as encode_base64
|
/third_party/python/Lib/test/ |
H A D | test_smtplib.py | 4 from email.base64mime import body_encode as encode_base64
|
Completed in 16 milliseconds