Timur Alperovich 32f6b3c642 Do not set Content-Type to '' with new requests.
Previously, python-swiftclient worked around a requests issue where
Content-Type could be set to application/x-www-form-urlencoded when
using python3. This issue has been resolved and a fix released in
requests 2.4 (fixed in subsequent releases as well). The patch makes
the workaround conditional on the requests version, so that with
sufficiently new requests libraries, the Content-Type is not set.

For reference, requests 2.4 was released August 29th, 2014. The
specific issue filed in the requests tracker is:
https://github.com/requests/requests/issues/2071.

Related-Change: I035f8b4b9c9ccdc79820b907770a48f86d0343b4
Closes-Bug: #1433767

Change-Id: Ieb2243d2ff5326920a27ce8c3c6f0f5c396701ed
2017-06-13 10:41:01 -07:00
2014-03-25 11:36:39 +00:00
2017-03-29 14:27:39 -04:00
2016-11-09 11:25:15 -08:00
2016-12-27 15:47:18 -08:00
2014-05-09 09:29:04 +02:00
2017-01-25 15:12:59 -08:00
2017-01-25 15:12:59 -08:00
2016-12-27 15:47:18 -08:00
2017-01-25 15:12:59 -08:00
2012-05-08 16:30:13 +01:00
2013-05-01 12:23:12 -04:00
2017-04-10 16:00:39 +05:30
2012-05-21 12:52:55 +02:00
2016-10-24 01:52:37 +02:00
2016-12-27 15:47:18 -08:00

Team and repository tags

image

Python bindings to the OpenStack Object Storage API

Latest Version

Downloads

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.

This code is based on the original 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%