mgeisler / swift-browser

AngularJS interface for OpenStack Swift
Apache License 2.0
41 stars 9 forks source link

Add support for Form POST Middleware #62

Open mgeisler opened 10 years ago

mgeisler commented 10 years ago

Uploading files to Swift can be done in two ways: using a PUT request or by form upload. The former requires the use of the HTML 5 file API to read the local file before sending it to the server. As such, this only works on IE 10+ and other modern browsers:

To support older browsers, we would have to use the Form POST Middleware for Swift. That allows us to use a normal form to upload files directly to Swift.

mgeisler commented 10 years ago

@willkelly I tried accessing the /info URL which should let me discover the features enabled in Zebra. However, I get a 404 for https://zebra.zerovm.org/info.

Is the middleware installed on Zebra? If not, do you think we can or should install it?