def https_open(self, req):
        try:
            return self.do_open(MyHTTPSConnection, req)
        except __HOLE__:
            raise KeyboardInterrupt  # Not handled here.
        except Exception, e:
            # Can't have OWTF crash due to a library exception -i.e. raise
            # BadStatusLine(line)-.
            return ''


# SmartRedirectHandler is courtesy of:
# http://www.diveintopython.net/http_web_services/redirects.html
dataset/ETHPy150Open owtf/owtf/framework/http/requester.py/MyHTTPSHandler.https_open