def check_404(self):
        """
        check status 404 existence
        """
        try:
            self._status, headers, html_doc = self._http_request('/A_NOT_EXISTED_URL_TO_CHECK_404_STATUS_EXISTENCE')
            if self._status == -1:
                print '[ERROR] Fail to connect to %s' % self.host
            self.has_404 = (self._status == 404)
            return self.has_404
        except Exception, e:
            logging.error("[Check_404] Exception %s" % e)
dataset/ETHPy150Open lijiejie/BBScan/BBScan.py/InfoDisScanner.check_404/original