Home
last modified time | relevance | path

Searched refs:raw_data_manager (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/test/test_email/
Dtest_contentmanager.py6 from email.contentmanager import ContentManager, raw_data_manager
145 content_manager=raw_data_manager)
154 self.assertEqual(raw_data_manager.get_content(m), "Basic text.\n")
162 self.assertEqual(raw_data_manager.get_content(m),
171 self.assertEqual(raw_data_manager.get_content(m), "Basìc tëxt.\n")
180 self.assertEqual(raw_data_manager.get_content(m), "Basìc tëxt.\n")
189 self.assertEqual(raw_data_manager.get_content(m), "Basìc tëxt.\n")
198 self.assertEqual(raw_data_manager.get_content(m), "Basìc tëxt�.\n")
207 self.assertEqual(raw_data_manager.get_content(m, errors='ignore'),
217 self.assertEqual(raw_data_manager.get_content(m, errors='ignore'),
[all …]
/external/python/cpython3/Lib/email/
Dcontentmanager.py61 raw_data_manager = ContentManager() variable
68 raw_data_manager.add_get_handler('text', get_text_content)
74 raw_data_manager.add_get_handler(maintype, get_non_text_content)
80 raw_data_manager.add_get_handler('message/'+subtype, get_message_content)
91 raw_data_manager.add_get_handler('message',
192 raw_data_manager.add_set_handler(str, set_text_content)
225 raw_data_manager.add_set_handler(email.message.Message, set_message_content)
250 raw_data_manager.add_set_handler(typ, set_bytes_content)
Dpolicy.py9 from email.contentmanager import raw_data_manager
90 content_manager = raw_data_manager
/external/python/cpython3/Doc/library/
Demail.contentmanager.rst91 :data:`raw_data_manager`, although more may be added in the future.
92 :data:`raw_data_manager` is the
97 .. data:: raw_data_manager
Demail.policy.rst437 :data:`~email.contentmanager.raw_data_manager`.