From 285b9bddb351c5309df06634797cfab9482b64c0 Mon Sep 17 00:00:00 2001 From: Frederick Cheung Date: Sun, 9 Sep 2012 11:03:34 +0100 Subject: [PATCH] [AWS|Storage] mark upload_part as idempotent so it will be retried automatically --- lib/fog/aws/requests/storage/upload_part.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/fog/aws/requests/storage/upload_part.rb b/lib/fog/aws/requests/storage/upload_part.rb index 024c29847..344ca3ace 100644 --- a/lib/fog/aws/requests/storage/upload_part.rb +++ b/lib/fog/aws/requests/storage/upload_part.rb @@ -29,6 +29,7 @@ module Fog request({ :body => data[:body], :expects => 200, + :idempotent => true, :headers => headers, :host => "#{bucket_name}.#{@host}", :method => 'PUT',