Bug #16027
closedAdd support for swift bulk delete with POST request
0%
Description
In addition to DELETE request, swift also provides support for bulk delete with POST request:
https://github.com/openstack/swift/blob/master/swift/common/middleware/bulk.py#L149
http://docs.openstack.org/developer/swift/middleware.html#bulk-delete
We could add support in RGW for the same.
Updated by Radoslaw Zarzynski almost 8 years ago
- Status changed from New to 12
- Assignee set to Radoslaw Zarzynski
- Backport set to jewel
Updated by Radoslaw Zarzynski almost 8 years ago
- Status changed from 12 to New
- Backport deleted (
jewel)
I wanted to start coding this feature but it looks I've forgotten we actually have it. ;-) If you don't mind, I will close this ticket.
Tested it out:
$ curl -i -X POST -H "X-Auth-Token: $token" "$publicURL/?bulk-delete" --data-binary @./multidel-noslash
HTTP/1.1 200 OK
X-Trans-Id: tx000000000000000000016-005748582b-1015-default
Content-Type: text/plain; charset=utf-8
Content-Length: 87
Date: Fri, 27 May 2016 14:22:35 GMTNumber Deleted: 8
Number Not Found: 0
Response Body:
Response Status: 200 OK
Errors:
Updated by Konstantin Shalygin 19 days ago
- Status changed from New to Can't reproduce