Tim Burke 64da481ccd Tolerate RFC-compliant ETags
Since time immemorial, Swift has returned unquoted ETags for plain-old
Swift objects -- I hear tell that we once tried to change this, but
quickly backed it out when some clients broke.

However, some proxies (such as nginx) apparently may force the ETag to
adhere to the RFC, which states [1]:

    An entity-tag consists of an opaque *quoted* string

(emphasis mine). See the related bug for an instance of this happening.

Since we can still get the original ETag easily, we should tolerate the
more-compliant format.

[1] https://tools.ietf.org/html/rfc2616.html#section-3.11 or, if you
    prefer the new ones, https://tools.ietf.org/html/rfc7232#section-2.3

Change-Id: I7cfacab3f250a9443af4b67111ef8088d37d9171
Closes-Bug: 1681529
Related-Bug: 1678976
2017-04-21 10:28:33 -07:00
2014-03-25 11:36:39 +00:00
2016-11-09 11:25:15 -08:00
2017-04-21 10:28:33 -07:00
2017-04-21 10:28:33 -07: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%