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

16 commits

Author SHA1 Message Date
Bob Lail and Luke Booth
47547e42ef [fix] Corrected the service mocks for testing to respond with a 304 to values of If-Modified-Since that match Last-Modified
The HTTP spec suggests that clients supply the value of Last-Modified that they previously received from the server to If-Modified-Since. When comparing If-Modified-Since > Last-Modified, however, the Mock object would fail to return a 304 for such a case.
2013-07-10 13:58:54 -05:00
Jonas Pfenniger
f6d361b2e2 AWS | storage: big refactor
Logics have been centralised:

* region to hostname
* url generation
* signature
* chaning scheme also changes the port

During the process a couple of inconsistencies have also
been fixed.

Known limitations:

When using the @endpoint with a custom port you need to specify the port
when using get_object_http_url or get_object_https_url.

When using bucket names that contain dots outside of us-east-1 make sure to
access it with the same region in your AWS::Storage.
2013-04-16 23:30:35 +01:00
Christopher Meiklejohn
13e1567a8d Add Riak CS provider in Fog. 2013-03-08 16:24:34 -05:00
Weston Platter
e6d3ead670 [docs::aws::storage] finished formatting get requests 2013-01-03 23:56:21 -06:00
Ahmed Al Hafoudh
7b5bfc8119 When using mock mode, Range header is now not ignored in get_object() 2012-08-23 10:04:54 +02:00
geemus
fcd504c30a [storage] fixes for deprecated implicit block usage to excon requests 2012-03-17 14:28:31 -05:00
Kevin Menard
aff70389a8 [aws|storage|test] Make sure tests pass with both mocking enabled and disabled. 2012-02-06 09:53:27 -05:00
Kevin Menard
abf8b5e670 [aws|storage] Return the object version in the request header and set an attribute value in the model. 2012-01-26 17:56:39 -05:00
Kevin Menard
701175a0a7 [aws|storage|test] Added the ability to get_object by versionId. 2012-01-26 17:54:57 -05:00
Kevin Menard
f2b61321bb [aws|storage] Handle S3 object deletions in the face of versioning. 2012-01-26 17:54:57 -05:00
Kevin Menard
d53f2409b0 [aws|storage|test] Added in versioning support for S3 objects, sans deletion markers. 2012-01-26 17:54:57 -05:00
geemus
9b8240bfba [storage|aws] move aws storage back with other aws stuff (namespacing should probably be recorrected as well) 2011-08-24 13:50:42 -05:00
geemus
ac480ad928 [storage] consolidate 2011-01-07 15:34:20 -08:00
geemus
f0fd80b52b [aws|storage] flag mock modules as non-documented 2010-10-29 18:16:36 -07:00
geemus
a8bdd19c62 [aws|storage] doc work, adding links to api docs 2010-10-29 18:05:59 -07:00
geemus
58577e17bf [aws] rename ec2/s3 to compute/storage 2010-09-08 14:40:57 -07:00
Renamed from lib/fog/aws/requests/s3/get_object.rb (Browse further)