def delete(self, endpoint):
     return requests.delete(
         SERVER_URL + endpoint,
         headers=self.headers,
         timeout=self.timeout)
 def delete(self, endpoint):
     return requests.delete(SERVER_URL + endpoint,
                            headers=self.headers,
                            timeout=self.timeout)
示例#3
0
 def delete(self, endpoint):
     return requests.delete(
         SERVER_URL + endpoint,
         headers={'Content-Type': 'application/json'},
         auth=self._auth())
示例#4
0
 def delete(self, endpoint):
     return requests.delete(SERVER_URL + endpoint, timeout=self.timeout, **self._auth())
 def delete(self, endpoint):
     return requests.delete(URL_SERVER + endpoint, timeout=self.timeout)
示例#6
0
 def delete(self, endpoint):
     return requests.delete(SERVER_URL + endpoint,
                            timeout=self.timeout,
                            **self._auth())