Home
last modified time | relevance | path

Searched refs:message_from_string (Results 1 – 16 of 16) sorted by relevance

/third_party/python/Lib/test/test_email/
Dtest_email.py371 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 …]
Dtest_parser.py19 msg = email.message_from_string("Subject: bogus\n\nmsg\n",
96 parsers = (email.message_from_string, message_from_file)
Dtest_pickleable.py48 msg_params['parsed'] = (email.message_from_string(textwrap.dedent("""\
Dtest_generator.py4 from email import message_from_string, message_from_bytes
222 msgfunc = staticmethod(message_from_string)
Dtest_message.py3 from email import policy, message_from_string
24 m = message_from_string(textwrap.dedent("""\
972 msg = message_from_string(textwrap.dedent("""\
D__init__.py49 return email.message_from_string(string, message, policy=policy)
Dtest_policy.py301 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__.py32 def message_from_string(s, *args, **kws): function
/third_party/python/Lib/urllib/
Drequest.py1509 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/
Dtest_mailbox.py70 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)
Dtest_urllib2.py489 msg = email.message_from_string(self.headers)
494 msg = email.message_from_string("\r\n\r\n")
Dtest_http_cookiejar.py308 self._headers = email.message_from_string("\n".join(headers))
/third_party/python/Lib/importlib/metadata/
D__init__.py582 return _adapters.Message(email.message_from_string(text))
/third_party/python/Doc/library/
Demail.parser.rst262 .. function:: message_from_string(s, _class=None, *, policy=policy.compat32)
/third_party/python/Lib/
Dmailbox.py1501 self._become_message(email.message_from_string(message))
/third_party/python/Doc/whatsnew/
D3.3.rst1327 >>> m2 = message_from_string(str(m))