Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/email/
Dmessage.py413 def replace_header(self, _name, _value): member in Message
/external/python/cpython2/Lib/
Dmailbox.py1630 self.replace_header('Status', status_flags)
1634 self.replace_header('X-Status', xstatus_flags)
1817 self._visible.replace_header(header, self[header])
/external/python/cpython2/Lib/email/test/
Dtest_email_renamed.py489 msg.replace_header('Second', 'Twenty')
493 msg.replace_header('First', 'One Hundred')
496 self.assertRaises(KeyError, msg.replace_header, 'Fourth', 'Missing')
Dtest_email.py538 msg.replace_header('Second', 'Twenty')
542 msg.replace_header('First', 'One Hundred')
545 self.assertRaises(KeyError, msg.replace_header, 'Fourth', 'Missing')
/external/python/cpython2/Doc/library/
Demail.message.rst308 .. method:: replace_header(_name, _value)