(self, fpatt, header, value)
return True
Add a set header hook.

            fpatt: String specifying a filter pattern.
            header: Header name.
            value: Header value string

            Returns True if hook was added, False if the pattern could not be
            parsed.
Add a set header hook.
Add a set header hook .
def add(self, fpatt, header, value):
        """
            Add a set header hook.

            fpatt: String specifying a filter pattern.
            header: Header name.
            value: Header value string

            Returns True if hook was added, False if the pattern could not be
            parsed.
        """
        cpatt = filt.parse(fpatt)
        if not cpatt:
            return False
        self.lst.append((fpatt, header, value, cpatt))
        return True
def add ( self , fpatt , header , value ) : cpatt = filt . parse ( fpatt ) if not cpatt : return False self . lst . append ( ( fpatt , header , value , cpatt ) ) return True