Tristan Cacqueray 380e830874 Remove multipart/form-data file upload
The requests 'files' parameter adds this 'Content-Type: multipart/form-data'
HTTP header and the whole multipart body data get stored with the object.
This also create a memory hog issue because files are loaded in memory before
being actually sent. This patch removes this behavior and restores what was
done before, ie: direct uploading.

This patches also fixes an issue in requests, when used with glance
CooperativeReader it mis-calculates content-length leading to chunked encoding
for raw upload.

Change-Id: Ie5b0a1078bedd33f09c6157f48b5f88116c589fa
Closes-Bug: #1280072
Closes-Bug: #1280275
2014-02-14 16:51:20 +01:00
2014-02-14 00:41:39 +00:00
2014-01-17 10:26:34 +01:00
2014-02-13 23:37:08 -08:00
2013-11-28 22:39:24 +08:00
2013-06-27 22:28:33 +08:00
2013-01-18 16:13:27 -05:00
2012-05-08 16:30:13 +01:00
2013-05-01 12:23:12 -04:00
2012-05-08 15:21:56 +01:00
2014-02-12 13:21:26 +01:00
2012-05-21 12:52:55 +02:00
2013-09-13 11:02:05 -05:00
2014-02-10 03:11:19 +00:00

Python bindings to the OpenStack Object Storage API

This is a python client for the Swift API. There's a Python API (the swiftclient module), and a command-line script (swift).

Development takes place via the usual OpenStack processes as outlined in the OpenStack wiki. The master repository is on GitHub.

This code is based on original the client previously included with OpenStack's swift The python-swiftclient is licensed under the Apache License like the rest of OpenStack.

Contents:

Description
OpenStack Storage (Swift) Client
Readme 14 MiB
Languages
Python 99.9%
Shell 0.1%