Feature #3574

etag-if-match in upload

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

Status:Closed Start date:04/10/2013
Priority:Low Due date:
Assignee:Stavros Sachtouris % Done:

100%

Category:kamaki Spent time: -
Target version:v0.8

Description

Add support for etag-if-match to the kamaki pithos library upload method.

History

#1 Updated by Stavros Sachtouris over 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

In kamaki.clients.pithos.PithosClient.upload_object add the if_not_exist option. If true, the remote object should not exist, otherwise the upload will fail

This is implemented with the if_etag_not_match param of kamaki.clients.pithos.rest_api.PithosRestClient.object_put which affects the if-none-match header

#2 Updated by Dionysis Zindros over 11 years ago

  • % Done changed from 100 to 0

I will be needing an etag-if-match option.

#3 Updated by Stavros Sachtouris over 11 years ago

  • % Done changed from 0 to 100

Dionysis Zindros wrote:

I will be needing an etag-if-match option.

It's done (just not mentioned in the commend - it is now, though !).

Also available in: Atom PDF