def deleteURL(self, url, headers): if Live.pool is None: Live.pool = self._get_pool() return get_live_url(Live.pool, 'DELETE', self._conf['HOST'], url, headers=headers, service_name='gws')
def putURL(self, url, headers, body): if Live.pool is None: Live.pool = self._get_pool() return get_live_url(Live.pool, 'PUT', self._conf['HOST'], url, headers=headers, body=body, service_name='gws')
def getURL(self, url, headers): if Live.pool is None: Live.pool = self._get_pool() return get_live_url(Live.pool, 'GET', self._conf['HOST'], url, headers=headers, service_name='nws')
def postURL(self, url, headers, body): if Live.pool is None: Live.pool = self._get_pool() return get_live_url(Live.pool, "POST", self._conf["HOST"], url, headers=headers, body=body, service_name="nws")
def getURL(self, url, headers): if Live.pool is None: Live.pool = self._get_pool() return get_live_url(Live.pool, "GET", self._conf["HOST"], url, headers=headers, service_name="nws")