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

[AWS|Storage] mark upload_part as idempotent so it will be retried automatically

This commit is contained in:
Frederick Cheung 2012-09-09 11:03:34 +01:00
parent 7fba8cecd9
commit 285b9bddb3

View file

@ -29,6 +29,7 @@ module Fog
request({
:body => data[:body],
:expects => 200,
:idempotent => true,
:headers => headers,
:host => "#{bucket_name}.#{@host}",
:method => 'PUT',