MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / replace_header

Method replace_header

Lib/email/message.py:413–426  ·  view source on GitHub ↗

Replace a header. Replace the first matching header found in the message, retaining header order and case. If no matching header was found, a KeyError is raised.

(self, _name, _value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

test_replace_headerMethod · 0.95
test_replace_headerMethod · 0.95
set_flagsMethod · 0.80
update_visibleMethod · 0.80

Calls 1

lowerMethod · 0.45

Tested by 2

test_replace_headerMethod · 0.76
test_replace_headerMethod · 0.76