Feature #3656

Make upload_object return etag data

Added by Dionysis Zindros over 11 years ago. Updated about 11 years ago.

Status:Closed Start date:04/23/2013
Priority:Medium Due date:05/14/2013
Assignee:Stavros Sachtouris % Done:

100%

Category:kamaki Spent time: 2.00 hours
Target version:v0.9 Estimated time:2.00 hours

Description

Please make the upload_object pithos call return an dictionary which will include details about the uploaded object. The dictionary should contain at least an 'etag' key with its value set to the etag returned by the server during the PUT operation. This etag must not be requested using an additional GET; it must be the one returned by the server from the same PUT that was used to upload the object.


Related issues

blocks ./kamaki - Feature #3730: List a detailed list of uploaded object after file upload Closed 05/14/2013 05/22/2013

Associated revisions

Revision 3c216009
Added by Stavros Sachtouris about 11 years ago

Modify upload methods to return created obj info

Methods affected:
upload_object
upload_object_unchunked
upload_object_by_manifestation

unittests modified accordingly

Refs: #3656

Revision cb010e3e
Added by Stavros Sachtouris about 11 years ago

Update livetest for upload return modification

Refs: #3656

Revision 51fad88a
Added by Stavros Sachtouris about 11 years ago

Update changelog (pithos upload modification)

Refs: #3656

History

#1 Updated by Stavros Sachtouris over 11 years ago

This feature is not currently supported by Pithos, but is expected to be soon

#2 Updated by Stavros Sachtouris about 11 years ago

  • Due date set to 05/14/2013
  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Estimated time set to 2.00

On case of success, kamaki.clients.PithosClient.upload_object returns the last PUT headers

#3 Updated by Stavros Sachtouris about 11 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF