geemus/fog — Issue #563: [ aws | storage ] generated url not usable
Author: dje
Created: 2011-10-14 17:44:54+00:00
State: open

The URI generate by Fog::Storage::AWS::GetObjectHttpsUrl is not usable.

get_object_https_url("foo", "bar", 60)

Apparently S3 would like a URI with the form: "foo.s3.amazonaws.com" instead of "s3.amazonaws.com/foo"

Otherwise an XML document is returned to the effect: "The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint."

While the status is 301 there is no new location specified thus: "ERROR: Redirection (301) without location."