Go to file
tong li 48f446a938 Allow user to specify headers at the command line.
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
2013-03-18 09:48:33 -04:00
2013-02-26 12:47:34 -07:00
2013-01-10 13:26:53 +09:00
2013-01-18 16:13:27 -05:00
2013-01-18 16:13:27 -05:00
2013-01-18 16:13:27 -05:00
2012-05-08 16:30:13 +01:00
2012-06-26 21:23:25 -05:00
2012-05-08 15:21:56 +01:00
2012-05-21 12:52:55 +02:00
2013-01-18 16:13:27 -05:00
2013-01-30 21:56:29 +00:00
2013-01-18 16:13:27 -05: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%