

def getheader(self, name, default=None):
    if (self.headers is None):
        raise ResponseNotReady()
    headers = (headers.headers.get_all(name) or default)
    if (isinstance(headers, str) or (not hasattr(headers, '__iter__'))):
        return headers
    else:
        return ', '.join(headers)

dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/future/backports/http/client.py HTTPResponse.getheader/VarMisuse@36/41 `self`->`headers`