48f446a93883fc615d23ac1148fd4b082aed9c86

Currently swift client does not allow content type to be specified when upload an object. It does not allow a user to change content type neither. This patch will allow a user to specify content type by using upload command or modify the content type by using post command. For example: 1. To upload an object with specific content type: swift upload -H content-type:applicaiton/xml con1 file1 2. To modify an object to a specific content type: swift post -H content-type:application/josn con1 file1 This patch also allow a client to specify other request headers. Change-Id: I12db83a1d465285e0906889cc67dfaa44e059568 Fixes: bug #1154621
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
Languages
Python
99.9%
Shell
0.1%