lp://qastaging/~fujita-tomonori-deactivatedaccount/swift/s3api3
I've finished code refactoring and basic error handling. Seems that the following operations work with boto:
- List of buckets
- Create bucket
- Delete bucket
- List of objects in a bucket
- PUT object
- GET object
- DELETE object
- HEAD object
Swift account (something like AUTH_89308df71f
Swift password (passed to swift-auth-
There are still room to improve error handling code but I think that this enables you to do something useful with boto. Note that this shouldn't affect the existing Swift features.
- Get this branch:
- bzr branch lp://qastaging/~fujita-tomonori-deactivatedaccount/swift/s3api3
Branch merges
- Chuck Thier (community): Approve
-
Diff: 841 lines (+759/-5)5 files modifiedsetup.py (+1/-0)
swift/auth/server.py (+25/-1)
swift/common/middleware/auth.py (+14/-4)
swift/common/middleware/swift3.py (+296/-0)
test/unit/common/middleware/test_swift3.py (+423/-0)
Branch information
Recent revisions
- 158. By FUJITA Tomonori
-
s3api: fix GETorHEAD
- replace 'content-length and 'content-encoding' with 'Content-Length
and 'Content-Encoding' respectively.- return 'Content-Type' and 'last-modified' headers too.
- remove 'Content-MD5' since seems that S3 doesn't use it for GET or
HEAD response.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/~hudson-openstack/swift/trunk