Go to file
Tom Fifield 0fce82b6bf add basic ACL set, logging, fix getacl http code
This change:
* adds HTTP_NOT_IMPLEMENTED (501) as a potential return code that can
 be used for the multitude of calls this middleware does not yet
 support
* adds basic support for setting ACLs to allow containers/buckets to
 become public.
* fixes the HTTP return code for getacl by changing what gets sent to
 swift
* adds debug logging for assistance with development

ACL support works for public-read, public-read-write, but does not
yet pass tests (but it doesn't make them worse!) mainly due to the
fact that get_acl currently returns a hardcoded xml string.
2012-10-15 14:59:43 -07:00
2012-10-09 08:00:35 -07:00
2012-05-21 13:17:19 +02:00
2012-05-21 13:34:53 +02:00
2012-06-16 21:14:49 +09:00
2012-06-16 20:51:47 +09:00

Swift3

Swift3 Middleware for OpenStack Swift, allowing access to OpenStack swift via the Amazon S3 API.

Install

  1. Install Swift3 with sudo python setup.py install or sudo python setup.py develop or via whatever packaging system you may be using.

  2. 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
    
  3. 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.
Readme 5.4 MiB
Languages
Python 99.3%
Shell 0.7%