mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[Rackspace|Storage] set put_object to idempotent
This commit is contained in:
parent
ffbb2b06bd
commit
a1fe973bdc
1 changed files with 6 additions and 5 deletions
|
@ -17,6 +17,7 @@ module Fog
|
||||||
request(
|
request(
|
||||||
:body => data[:body],
|
:body => data[:body],
|
||||||
:expects => 201,
|
:expects => 201,
|
||||||
|
:idempotent => true,
|
||||||
:headers => headers,
|
:headers => headers,
|
||||||
:method => 'PUT',
|
:method => 'PUT',
|
||||||
:path => "#{Fog::Rackspace.escape(container)}/#{Fog::Rackspace.escape(object)}"
|
:path => "#{Fog::Rackspace.escape(container)}/#{Fog::Rackspace.escape(object)}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue