Searched refs:message_from_string (Results 1 – 23 of 23) sorted by relevance
/external/python/cpython2/Lib/email/test/ |
D | test_email_renamed.py | 265 msg = email.message_from_string("Content-Type: blarg; baz; boo\n") 269 msg = email.message_from_string("From: foo\n") 273 msg = email.message_from_string( 278 msg = email.message_from_string("From: foo\n") 283 msg = email.message_from_string( 287 msg = email.message_from_string( 292 msg = email.message_from_string( 304 msg = email.message_from_string( 309 msg = email.message_from_string( 324 msg = email.message_from_string( [all …]
|
D | test_email.py | 306 msg = email.message_from_string("Content-Type: blarg; baz; boo\n") 310 msg = email.message_from_string("From: foo\n") 314 msg = email.message_from_string( 319 msg = email.message_from_string("From: foo\n") 324 msg = email.message_from_string( 328 msg = email.message_from_string( 333 msg = email.message_from_string( 345 msg = email.message_from_string( 350 msg = email.message_from_string( 365 msg = email.message_from_string( [all …]
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_email.py | 338 msg = email.message_from_string("Content-Type: blarg; baz; boo\n") 342 msg = email.message_from_string("From: foo\n") 346 msg = email.message_from_string( 351 msg = email.message_from_string("From: foo\n") 356 msg = email.message_from_string( 360 msg = email.message_from_string( 365 msg = email.message_from_string( 378 msg = email.message_from_string( 383 msg = email.message_from_string( 400 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_generator.py | 4 from email import message_from_string, message_from_bytes 168 msgfunc = staticmethod(message_from_string)
|
D | test_pickleable.py | 48 msg_params['parsed'] = (email.message_from_string(textwrap.dedent("""\
|
D | test_policy.py | 261 email.message_from_string("Subject: test\n\n", 297 return email.message_from_string(source, policy=self.policy)
|
D | __init__.py | 49 return email.message_from_string(string, message, policy=policy)
|
D | test_message.py | 3 from email import policy, message_from_string 24 m = message_from_string(textwrap.dedent("""\
|
/external/python/cpython3/Lib/email/ |
D | __init__.py | 32 def message_from_string(s, *args, **kws): function
|
/external/python/cpython2/Lib/email/ |
D | __init__.py | 51 def message_from_string(s, *args, **kws): function
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 1478 headers = email.message_from_string( 1549 headers = email.message_from_string(headers) 1637 headers = email.message_from_string("Content-type: %s\nContent-length: %d\n" % 1996 headers = email.message_from_string( 2068 headers = email.message_from_string(headers) 2109 headers = email.message_from_string(msg) 2362 _noheaders = email.message_from_string("")
|
/external/python/cpython2/Doc/library/ |
D | email.parser.rst | 167 .. function:: message_from_string(s[, _class[, strict]]) 189 >>> msg = email.message_from_string(myString)
|
D | email.rst | 194 and :func:`email.message_from_string`. 240 * :func:`messageFromString` has been renamed to :func:`message_from_string`.
|
/external/python/cpython3/Lib/test/ |
D | test_mailbox.py | 69 keys.append(self._box.add(email.message_from_string(_sample_message))) 117 self._box.add(email.message_from_string("From: Alphöso")) 537 for input in (email.message_from_string(_sample_message), 1354 eMM = email.message_from_string(_sample_message) 1400 eMM = email.message_from_string(_sample_message) 1408 eMM = email.message_from_string(_sample_message)
|
D | test_urllib2.py | 474 msg = email.message_from_string(self.headers) 479 msg = email.message_from_string("\r\n\r\n")
|
D | test_http_cookiejar.py | 294 self._headers = email.message_from_string("\n".join(headers))
|
/external/python/cpython2/Lib/test/ |
D | test_mailbox.py | 69 keys.append(self._box.add(email.message_from_string(_sample_message))) 447 for input in (email.message_from_string(_sample_message), 1213 eMM = email.message_from_string(_sample_message) 1250 eMM = email.message_from_string(_sample_message)
|
/external/python/cpython3/Doc/library/ |
D | email.parser.rst | 262 .. function:: message_from_string(s, _class=None, *, policy=policy.compat32)
|
D | urllib.request.rst | 64 in the form of an :func:`email.message_from_string` instance (see
|
/external/python/cpython2/Lib/ |
D | mailbox.py | 1459 self._become_message(email.message_from_string(message))
|
/external/python/cpython3/Lib/ |
D | mailbox.py | 1498 self._become_message(email.message_from_string(message))
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 1327 >>> m2 = message_from_string(str(m))
|