1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[rackspace|storage] put_object with request_block can not be idempotent

This commit is contained in:
Brian D. Burns 2013-07-27 19:07:29 -04:00
parent 9c15a41fa1
commit ceb2bb0597

View file

@ -22,7 +22,7 @@ module Fog
params.merge!( params.merge!(
:expects => 201, :expects => 201,
:idempotent => true, :idempotent => !params[:request_block],
: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)}"