'Perform search on current HTTP request/response exchange.
Store information about vulns for further global processing.
@param request: HTTP request
@param response: HTTP response'

def grep(self, request, response):

    response_url = response.get_url().uri2url()
    if (response_url in self._urls):
        return
    self._urls.append(response_url)
    csp_vulns = find_vulns(response)
    if (len(csp_vulns) > 0):
        vuln_store_item = DiskCSPVulnStoreItem(response_url, response.id, csp_vulns)
        self._vulns.append(vuln_store_item)
        for csp_directive_name in csp_vulns:
            self._total_count += len(csp_vulns[csp_directive_name])
