Home
last modified time | relevance | path

Searched refs:get_body (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython3/Lib/test/test_email/
Dtest_message.py456 self.assertEqual(m.get_body(), first(expected))
457 self.assertEqual(m.get_body(preferencelist=(
460 self.assertEqual(m.get_body(preferencelist=('related', 'html')),
462 self.assertEqual(m.get_body(preferencelist=('related', 'plain')),
464 self.assertEqual(m.get_body(preferencelist=('html', 'plain')),
466 self.assertEqual(m.get_body(preferencelist=['related']),
468 self.assertEqual(m.get_body(preferencelist=['html']), expected[html])
469 self.assertEqual(m.get_body(preferencelist=['plain']), expected[plain])
470 self.assertEqual(m.get_body(preferencelist=('plain', 'html')),
472 self.assertEqual(m.get_body(preferencelist=('plain', 'related')),
[all …]
/external/python/cpython3/Doc/includes/
Demail-read-alternative.py28 simplest = msg.get_body(preferencelist=('plain', 'html'))
37 richest = msg.get_body()
50 body = richest.get_body(preferencelist=('html'))
/external/toybox/toys/pending/
Dwget.c118 static char *get_body(ssize_t len, ssize_t *body_len) { in get_body() function
161 body = get_body(len, &body_len); in wget_main()
/external/python/cpython3/Doc/library/
Demail.message.rst536 .. method:: get_body(preferencelist=('related', 'html', 'plain'))
546 ``get_body`` method is called.
566 with the object on which ``get_body`` is called, calling ``get_body`` on
571 are of type ``text/plain``, which may occasionally cause ``get_body`` to
Demail.parser.rst26 such as :meth:`~email.message.EmailMessage.get_body`,
/external/python/cpython3/Lib/email/
Dmessage.py1006 def get_body(self, preferencelist=('related', 'html', 'plain')): member in MIMEPart