'Get the contents of the header name, or default
if there is no matching header.'

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

    if (name in self._response.headers.keys()):
        return self._response.headers[name]
    else:
        return default
