You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2015/06/13 00:20:00 UTC

[jira] [Created] (JCLOUDS-937) Consider using HTTP POST for Swift bulk delete

Andrew Gaul created JCLOUDS-937:
-----------------------------------

             Summary: Consider using HTTP POST for Swift bulk delete
                 Key: JCLOUDS-937
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-937
             Project: jclouds
          Issue Type: Improvement
          Components: jclouds-blobstore
    Affects Versions: 1.9.0
            Reporter: Andrew Gaul
            Priority: Minor


Presently {{BulkApi.bulkDelete}} uses the DELETE HTTP verb with an entity body to supply the object names.  We should consider using the equivalent and POST HTTP verb instead.  The latter is better supported by some tools and proxies as discussed here:

https://bugs.launchpad.net/swift/+bug/1232787

Unfortunately Swift 1.8.0 (Havana) added support for DELETE and 1.11/1.12 (Icehouse?) added support for POST:

https://github.com/openstack/swift/blob/master/CHANGELOG

We might need some fallback or compatibility logic.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)