def connect(self, hostname, uri, body, headers):
        try:
            uri = uri or ''
            if hostname.endswith('/'):
                url = hostname + uri
            else:
                url = '%s/%s' % (hostname, uri) 

            req = Request(url, body, headers)                
            response = urlopen(req)
            
            return response
        except (URLError, __HOLE__):
            return False
dataset/ETHPy150Open smsapi/smsapi-python-client/smsapi/proxy.py/ApiHttpProxy.connect