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

idempotent get requests to s3

This commit is contained in:
Wesley Beary 2009-12-08 11:22:46 -08:00
parent e11a1eba13
commit 276a32b7a3
5 changed files with 5 additions and 0 deletions

View file

@ -46,6 +46,7 @@ unless Fog.mocking?
:expects => 200,
:headers => {},
:host => "#{bucket_name}.#{@host}",
:idempotent => true,
:method => 'GET',
:parser => Fog::Parsers::AWS::S3::GetBucket.new,
:query => query

View file

@ -18,6 +18,7 @@ unless Fog.mocking?
:expects => 200,
:headers => {},
:host => "#{bucket_name}.#{@host}",
:idempotent => true,
:method => 'GET',
:parser => Fog::Parsers::AWS::S3::GetBucketLocation.new,
:query => 'location'

View file

@ -38,6 +38,7 @@ unless Fog.mocking?
:expects => 200,
:headers => headers,
:host => "#{bucket_name}.#{@host}",
:idempotent => true,
:method => 'GET',
:path => CGI.escape(object_name),
:block => block

View file

@ -18,6 +18,7 @@ unless Fog.mocking?
:expects => 200,
:headers => {},
:host => "#{bucket_name}.#{@host}",
:idempotent => true,
:method => 'GET',
:parser => Fog::Parsers::AWS::S3::GetRequestPayment.new,
:query => 'requestPayment'

View file

@ -20,6 +20,7 @@ unless Fog.mocking?
:expects => 200,
:headers => {},
:host => @host,
:idempotent => true,
:method => 'GET',
:parser => Fog::Parsers::AWS::S3::GetService.new,
:url => @host