fujita/swift3 — pull request #29 by kostecky (2012-12-06 20:25:24+00:00)
Title: Fixed ACL requests on BucketObjects - must be a HEAD, fixed acl translation issue, fixed server-side copy issue in cyberduck (and other clients)

Changed GET to a HEAD on acl requests for BucketObjects.

There was a translation issue in the swift_acl_translate function that was breaking cyberduck and likely other clients. Considering there are only two possible permission schemes that work in the swift3 module, I simple added a break in the logic to correct this issue.

There is some general purpose debugging code added.

There is a fix for server side copying that breaks some clients (cyberduck) where it didn't conform to the S3 API, added LastModified to the response body.

There is a fix from vitoordaz to fix subfolder support in some clients that I extended to set X-Auth-Token-Alt. This is a header that the s3_token.py middleware in the keystone package was also extended to check for an alternate encoding of the canonical string (and corresponding token). This was needed to allow for multiple clients to be able to work with sub-folders successfully.