(self,name)
Delete all occurrences of a header, if present.

        Does *not* raise an exception if the header is missing.
Delete all occurrences of a header, if present.
Delete all occurrences of a header if present .
def __delitem__(self,name):
        """Delete all occurrences of a header, if present.

        Does *not* raise an exception if the header is missing.
        """
        name = self._convert_string_type(name.lower())
        self._headers[:] = [kv for kv in self._headers if kv[0].lower() != name]
def __delitem__ ( self , name ) : name = self . _convert_string_type ( name . lower ( ) ) self . _headers [ : ] = [ kv for kv in self . _headers if kv [ 0 ] . lower ( ) != name ]