class email.headerregistry.BaseHeader(name, value)
name and value are passed to BaseHeader from the header_factory call. The string value of any header object is the value fully decoded to unicode.
This base class defines the following read-only properties:
name
The name of the header (the portion of the field before the ‘:’). This is exactly the value passed in the header_factory call for name; that is, case is preserved.
defects
A tuple of HeaderDefect instances reporting any RFC