MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / items

Method items

tools/python-3.11.9-amd64/Lib/email/message.py:479–488  ·  view source on GitHub ↗

Get all the message's header fields and values. These will be sorted in the order they appeared in the original message, or were added to the message, and may contain duplicates. Any fields deleted and re-inserted are always appended to the header list.

(self)

Source from the content-addressed store, hash-verified

477 for k, v in self._headers]
478
479 def items(self):
480 """Get all the message's header fields and values.
481
482 These will be sorted in the order they appeared in the original
483 message, or were added to the message, and may contain duplicates.
484 Any fields deleted and re-inserted are always appended to the header
485 list.
486 """
487 return [(k, self.policy.header_fetch_parse(k, v))
488 for k, v in self._headers]
489
490 def get(self, name, failobj=None):
491 """Get a header value.

Callers 9

decode_paramsFunction · 0.45
paramsMethod · 0.45
add_headerMethod · 0.45
__init__Method · 0.45
__repr__Method · 0.45
cloneMethod · 0.45
_extend_docstringsFunction · 0.45
_finalize_setFunction · 0.45
_bootstrapFunction · 0.45

Calls 1

header_fetch_parseMethod · 0.45

Tested by

no test coverage detected