'Plugin entry point, find the blank bodies and report them.
:param request: The HTTP request object.
:param response: The HTTP response object
:return: None'

def grep(self, request, response):

    if ((response.get_body() == '') and (request.get_method() in self.METHODS) and (response.get_code() not in self.HTTP_CODES) and (not response.get_headers().icontains('location')) and (response.get_url().uri2url() not in self.already_reported)):
        self.already_reported.add(response.get_url().uri2url())
        desc = 'The    URL:    "%s"    returned    an    empty    body,    this    could    indicate    an    application    error.'
        desc = (desc % response.get_url())
        i = Info('Blank    http    response    body', desc, response.id, self.get_name())
        i.set_url(response.get_url())
        self.kb_append(self, 'blank_body', i)
