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

Method getfirstmatchingheader

Lib/rfc822.py:250–268  ·  view source on GitHub ↗

Get the first header line matching name. This is similar to getallmatchingheaders, but it returns only the first matching header (and its continuation lines).

(self, name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getrawheaderMethod · 0.95

Calls 3

isspaceMethod · 0.80
lowerMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected