'This method sends the request to the server.
:return: True if the requested URI responded as expected.'

def _send_and_check(self, nikto_test):

    if nikto_test.is_vulnerable.checks_only_response_code():
        try:
            http_response = self._uri_opener.HEAD(nikto_test.uri)
        except Exception:
            return
        else:
            if (not nikto_test.is_vulnerable.check(http_response)):
                return False
    function_ptr = getattr(self._uri_opener, nikto_test.method)
    try:
        http_response = function_ptr(nikto_test.uri)
    except BaseFrameworkException as e:
        msg = 'An    exception    was    raised    while    requesting    "%s",    the    error    message    is:    "%s".'
        om.out.error((msg % (nikto_test.uri, e)))
        return False
    if (nikto_test.is_vulnerable.check(http_response) and (not is_404(http_response))):
        vdesc = 'pykto    plugin    found    a    vulnerability    at    URL:    "%s".    Vulnerability    description:    "%s".'
        vdesc = (vdesc % (http_response.get_url(), nikto_test.message))
        v = Vuln('Insecure    URL', vdesc, severity.LOW, http_response.id, self.get_name())
        v.set_uri(http_response.get_uri())
        v.set_method(nikto_test.method)
        kb.kb.append(self, 'vuln', v)
        om.out.vulnerability(v.get_desc(), severity=v.get_severity())
        fr = FuzzableRequest.from_http_response(http_response)
        self.output_queue.put(fr)
