__getitem__(name)
Return the value of the named header field. name should not include the colon field separator. If the header is missing, None
is returned; a KeyError
is never raised.
Note that if the named field appears more than once in the message’s headers, exactly which of those field values will be returned is undefined. Use the get_all()
method to get the values of all the extant named headers.
Please login to continue.