Revision 9a7efb0d kamaki/clients/pithos_rest_api.py
b/kamaki/clients/pithos_rest_api.py | ||
---|---|---|
282 | 282 |
success = kwargs.pop('success', 200) |
283 | 283 |
return self.head(path, *args, success=success, **kwargs) |
284 | 284 |
|
285 |
def object_get(self, object, format='json', hashmap=False, version=None, binary=False,
|
|
285 |
def object_get(self, object, format='json', hashmap=False, version=None, |
|
286 | 286 |
data_range=None, if_range=False, if_etag_match=None, if_etag_not_match = None, |
287 | 287 |
if_modified_since = None, if_unmodified_since = None, *args, **kwargs): |
288 | 288 |
""" Full Pithos+ GET at object level |
... | ... | |
315 | 315 |
|
316 | 316 |
path=path4url(self.account, self.container, object) |
317 | 317 |
success = kwargs.pop('success', 200) |
318 |
if binary: |
|
319 |
kwargs['binary'] = True |
|
320 | 318 |
return self.get(path, *args, success=success, **kwargs) |
321 | 319 |
|
322 | 320 |
def object_put(self, object, format='json', hashmap=False, delimiter = None, if_etag_match=None, |
Also available in: Unified diff