From ceb2bb0597b7f6d1667b7946053335cf83a74964 Mon Sep 17 00:00:00 2001 From: "Brian D. Burns" Date: Sat, 27 Jul 2013 19:07:29 -0400 Subject: [PATCH] [rackspace|storage] put_object with request_block can not be idempotent --- lib/fog/rackspace/requests/storage/put_object.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/rackspace/requests/storage/put_object.rb b/lib/fog/rackspace/requests/storage/put_object.rb index 9db310de5..8ed6f3ab1 100644 --- a/lib/fog/rackspace/requests/storage/put_object.rb +++ b/lib/fog/rackspace/requests/storage/put_object.rb @@ -22,7 +22,7 @@ module Fog params.merge!( :expects => 201, - :idempotent => true, + :idempotent => !params[:request_block], :headers => headers, :method => 'PUT', :path => "#{Fog::Rackspace.escape(container)}/#{Fog::Rackspace.escape(object)}"