Add option to fail upload if remote file exists
authorStavros Sachtouris <saxtouri@admin.grnet.gr>
Fri, 12 Apr 2013 12:18:25 +0000 (15:18 +0300)
committerStavros Sachtouris <saxtouri@admin.grnet.gr>
Fri, 12 Apr 2013 12:18:25 +0000 (15:18 +0300)
commit524d9cdd526d855065d82a7660790cc80b134869
tree133211afe828d5c15078e60e6715a5228b2c00cf
parente5c76b1a1c37fdf7c2b290834b78ade5ce6c528c
Add option to fail upload if remote file exists

The if-none-match header option with '*' is used in that case.
This is exposed as 'if_not_exist' in PithosClient.upload_object

Feature #3574
kamaki/clients/pithos/__init__.py
kamaki/clients/pithos/test.py