Searched refs:message_from_string (Results 1 – 16 of 16) sorted by relevance
/third_party/python/Lib/test/test_email/ |
D | test_email.py | 371 msg = email.message_from_string("Content-Type: blarg; baz; boo\n") 375 msg = email.message_from_string("From: foo\n") 379 msg = email.message_from_string( 384 msg = email.message_from_string("From: foo\n") 389 msg = email.message_from_string( 393 msg = email.message_from_string( 398 msg = email.message_from_string( 411 msg = email.message_from_string( 416 msg = email.message_from_string( 433 msg = email.message_from_string( [all …]
|
D | test_parser.py | 19 msg = email.message_from_string("Subject: bogus\n\nmsg\n", 96 parsers = (email.message_from_string, message_from_file)
|
D | test_pickleable.py | 48 msg_params['parsed'] = (email.message_from_string(textwrap.dedent("""\
|
D | test_generator.py | 4 from email import message_from_string, message_from_bytes 222 msgfunc = staticmethod(message_from_string)
|
D | test_message.py | 3 from email import policy, message_from_string 24 m = message_from_string(textwrap.dedent("""\ 972 msg = message_from_string(textwrap.dedent("""\
|
D | __init__.py | 49 return email.message_from_string(string, message, policy=policy)
|
D | test_policy.py | 301 email.message_from_string("Subject: test\n\n", 337 return email.message_from_string(source, policy=self.policy)
|
/third_party/python/Lib/email/ |
D | __init__.py | 32 def message_from_string(s, *args, **kws): function
|
/third_party/python/Lib/urllib/ |
D | request.py | 1509 headers = email.message_from_string( 1579 headers = email.message_from_string(headers) 1667 headers = email.message_from_string("Content-type: %s\nContent-length: %d\n" % 2021 headers = email.message_from_string( 2093 headers = email.message_from_string(headers) 2134 headers = email.message_from_string(msg) 2387 _noheaders = email.message_from_string("")
|
/third_party/python/Lib/test/ |
D | test_mailbox.py | 70 keys.append(self._box.add(email.message_from_string(_sample_message))) 118 self._box.add(email.message_from_string("From: Alphöso")) 538 for input in (email.message_from_string(_sample_message), 1380 eMM = email.message_from_string(_sample_message) 1426 eMM = email.message_from_string(_sample_message) 1434 eMM = email.message_from_string(_sample_message)
|
D | test_urllib2.py | 489 msg = email.message_from_string(self.headers) 494 msg = email.message_from_string("\r\n\r\n")
|
D | test_http_cookiejar.py | 308 self._headers = email.message_from_string("\n".join(headers))
|
/third_party/python/Lib/importlib/metadata/ |
D | __init__.py | 582 return _adapters.Message(email.message_from_string(text))
|
/third_party/python/Doc/library/ |
D | email.parser.rst | 262 .. function:: message_from_string(s, _class=None, *, policy=policy.compat32)
|
/third_party/python/Lib/ |
D | mailbox.py | 1501 self._become_message(email.message_from_string(message))
|
/third_party/python/Doc/whatsnew/ |
D | 3.3.rst | 1327 >>> m2 = message_from_string(str(m))
|