def nessus_httpscan_loopy(var1, reporthost, http_obs, var2):
    """ Specific Nessus loop to find all HTTP response header issues """
    for reportitem in reporthost.findall('ReportItem'):
        if int(reportitem.get('pluginID')) in http_obs.keys():
            if var1 == 'addr':
                var2.append(reporthost.get('name') + ':' + reportitem.get(
                    'port'))
            elif var1 == 'obs':
                var2.append(http_obs.get(int(reportitem.get('pluginID'))))
