Tom Fifield
0b792a1e7a
Fixes maxlength validation bugs
The following S3 tests were failing: s3tests.functional.test_s3.test_bucket_list_maxkeys_invalid s3tests.functional.test_s3.test_bucket_list_maxkeys_unreadable s3tests.functional.test_s3.test_bucket_list_maxkeys_zero These two simple changes add some validation for the first two and fixes the return of is_truncated for the maxkeys=0 case. Tests now pass.
Swift3
Swift3 Middleware for OpenStack Swift, allowing access to OpenStack swift via the Amazon S3 API.
Install
-
Install Swift3 with
sudo python setup.py install
orsudo python setup.py develop
or via whatever packaging system you may be using. -
Alter your proxy-server.conf pipeline to have swift3:
Was::
[pipeline:main] pipeline = catch_errors cache tempauth proxy-server
Change To::
[pipeline:main] pipeline = catch_errors cache swift3 tempauth proxy-server
-
Add to your proxy-server.conf the section for the Swift3 WSGI filter::
[filter:swift3] use = egg:swift3#swift3
Description
Swift3 Middleware for OpenStack Swift, allowing access to OpenStack swift via the Amazon S3 API.
Languages
Python
99.3%
Shell
0.7%