def make_request(self, method, bucket="", key="", data="", headers=None, query_args=None, metadata=None, timeout=10): if not headers: headers = {} if not query_args: query_args = {} if not metadata: metadata = {} timeout = self.timeout resp = make_request(self.host, self.port, self.access_key_id, self.access_key_secret, method, bucket, key, query_args, headers, data, metadata, is_secure=self.is_secure, domain_mode=self.domain_mode, timeout=timeout) return resp
def make_request(self, method, bucket="", key="", data="", headers=None, query_args=None, metadata=None): if not headers: headers = {} if not query_args: query_args = {} if not metadata: metadata = {} resp = make_request(self.host, self.port, self.access_key_id, self.access_key_secret, method, bucket, key, query_args, headers, data, metadata, is_secure=self.is_secure, domain_mode=self.domain_mode) return resp
def make_request(self, method, bucket="", key="", data="", headers=None, query_args=None, metadata=None): if not headers: headers = {} if not query_args: query_args = {} if not metadata: metadata = {} resp = make_request(self.host, self.port, self.access_key_id, self.access_key_secret, method, bucket, key, query_args, headers, data, metadata) return resp