mirror of https://github.com/apache/jclouds.git
3668a9905b
When making a GetBucketLocation request, Amazon may route the request to the bucket region. When making it with v4 signer, the request may fail because of the region mismatch. Concretely, a request to test.s3.amazonaws.com may resolve to s3-us-west-2-w.amazonaws.com. The request itself is prepared for the us-east-1 region (s3.amazonaws.com endpoint), but then fails when the DNS resolution points to a us-west-2 endpoint. Bucket-in-path works around this for the GetBucketLocation requests. That means that every GetBucketLocation request will be of the form: https://s3.amazonaws.com/{bucket}?location. This ensures that jclouds requests will not be subjected to Amazon's routing/DNS pointers. Fixes: JCLOUDS-1213 |
||
---|---|---|
.. | ||
src | ||
README.txt | ||
pom.xml |
README.txt
# # The jclouds API for Amazon's S3 (http://aws.amazon.com/s3/). # # TODO: Implementation status. # TODO: Supported features. # TODO: Usage example.