jclouds/apis/s3
Timur Alperovich 3668a9905b GetBucketLocation should use path-style requests.
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
2017-01-11 22:54:36 -08:00
..
src GetBucketLocation should use path-style requests. 2017-01-11 22:54:36 -08:00
README.txt JCLOUDS-31. remove malformed, duplicate, or unnecessary headers 2013-05-16 21:30:32 -07:00
pom.xml Next development version 2.0.1-SNAPSHOT 2016-11-15 01:17:08 +01:00

README.txt

#
# The jclouds API for Amazon's S3 (http://aws.amazon.com/s3/).
#
# TODO: Implementation status.
# TODO: Supported features.
# TODO: Usage example.