(self, name, failobj=None)
return failobj
Get a header value.

        Like __getitem__() but return failobj instead of None when the field
        is missing.
Get a header value.
Get a header value .
def get(self, name, failobj=None):
        """Get a header value.

        Like __getitem__() but return failobj instead of None when the field
        is missing.
        """
        name = name.lower()
        for k, v in self._headers:
            if k.lower() == name:
                return self.policy.header_fetch_parse(k, v)
        return failobj
def get ( self , name , failobj = None ) : name = name . lower ( ) for k , v in self . _headers : if k . lower ( ) == name : return self . policy . header_fetch_parse ( k , v ) return failobj