'Get the first header value for \'name\', or return \'default\''

def get(self, name, default=None):

    name = self._convert_string_type(name.lower())
    for (k, v) in self._headers:
        if (k.lower() == name):
            return v
    return default
