Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/email/
Dgenerator.py193 msg.replace_header('content-transfer-encoding', munge_cte[0])
194 msg.replace_header('content-type', munge_cte[1])
Dmessage.py545 def replace_header(self, _name, _value): member in Message
747 self.replace_header(header, ctype)
/external/python/cpython3/Lib/test/test_email/
Dtest_message.py732 m.replace_header('Content-Disposition', 'attachment')
734 m.replace_header('Content-Disposition', 'AtTachMent')
Dtest_email.py619 msg.replace_header('Second', 'Twenty')
623 msg.replace_header('First', 'One Hundred')
626 self.assertRaises(KeyError, msg.replace_header, 'Fourth', 'Missing')
634 msg.replace_header('Content-Disposition', 'inline')
636 msg.replace_header('Content-Disposition', 'InlinE')
/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/cpython3/Lib/
Dmailbox.py1679 self.replace_header('Status', status_flags)
1683 self.replace_header('X-Status', xstatus_flags)
1870 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/autotest/utils/frozen_chromite/third_party/python3/httplib2/
D__init__.py1816 info.replace_header(
/external/python/httplib2/python3/httplib2/
D__init__.py1850 info.replace_header(
/external/python/cpython2/Doc/library/
Demail.message.rst308 .. method:: replace_header(_name, _value)
/external/python/cpython3/Doc/library/
Demail.message.rst301 .. method:: replace_header(_name, _value)
Demail.compat32-message.rst422 .. method:: replace_header(_name, _value)