1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/aws/requests/storage
Michiel Sikkes 9de2caa488 [aws|storage|] Make get_object_http_url use correct S3 host in returned URL
This fixes a previous typo in get_object_http_url to correctly use the
configured AWS S3 host name in the URL and adds a test for the default case
where the bucket name can be used as a DNS CNAME.

For example, a bucket company-testbucket would translate into:

  http://company-testbucket./company-testbucket./fog_object?AWSAccessKeyId=...

Which is now fixed into:

  http://company-testbucket.s3.amazonaws.com/fog_object?AWSAccessKeyId=...
2012-04-16 19:10:05 +02:00
..
acl_utils_tests.rb Added acl_to_hash helper method to Fog::Storage::AWS 2011-11-14 10:45:51 +01:00
bucket_tests.rb Merge pull request #702 from pweldon/aws-storage-bucket-lifecycle-requests 2012-01-19 12:14:02 -08:00
multipart_upload_tests.rb [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
object_tests.rb [aws|storage|] Make get_object_http_url use correct S3 host in returned URL 2012-04-16 19:10:05 +02:00
versioning_tests.rb [aws|storage|test] Fixed a regression with mocked get_bucket requests, due to a change in the mock data ordering. 2012-02-08 12:39:14 -05:00