def METHOD_NAME(self,name,default=None):
    """Get the first header value for 'name', or return 'default'"""
    name = name.lower()
    for k,v in self._headers:
        if k.lower()==name:
            return v
    return default