Searched refs:replace_header (Results 1 – 13 of 13) sorted by relevance
/external/python/cpython3/Lib/email/ |
D | generator.py | 193 msg.replace_header('content-transfer-encoding', munge_cte[0]) 194 msg.replace_header('content-type', munge_cte[1])
|
D | message.py | 545 def replace_header(self, _name, _value): member in Message 747 self.replace_header(header, ctype)
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_message.py | 728 m.replace_header('Content-Disposition', 'attachment') 730 m.replace_header('Content-Disposition', 'AtTachMent')
|
D | test_email.py | 618 msg.replace_header('Second', 'Twenty') 622 msg.replace_header('First', 'One Hundred') 625 self.assertRaises(KeyError, msg.replace_header, 'Fourth', 'Missing') 633 msg.replace_header('Content-Disposition', 'inline') 635 msg.replace_header('Content-Disposition', 'InlinE')
|
/external/python/cpython2/Lib/email/ |
D | message.py | 413 def replace_header(self, _name, _value): member in Message
|
/external/python/cpython2/Lib/ |
D | mailbox.py | 1630 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/ |
D | mailbox.py | 1679 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/ |
D | test_email_renamed.py | 489 msg.replace_header('Second', 'Twenty') 493 msg.replace_header('First', 'One Hundred') 496 self.assertRaises(KeyError, msg.replace_header, 'Fourth', 'Missing')
|
D | test_email.py | 538 msg.replace_header('Second', 'Twenty') 542 msg.replace_header('First', 'One Hundred') 545 self.assertRaises(KeyError, msg.replace_header, 'Fourth', 'Missing')
|
/external/python/httplib2/python3/httplib2/ |
D | __init__.py | 1850 info.replace_header(
|
/external/python/cpython2/Doc/library/ |
D | email.message.rst | 308 .. method:: replace_header(_name, _value)
|
/external/python/cpython3/Doc/library/ |
D | email.message.rst | 301 .. method:: replace_header(_name, _value)
|
D | email.compat32-message.rst | 422 .. method:: replace_header(_name, _value)
|