Add support for swift bulk delete with POST request
In addition to DELETE request, swift also provides support for bulk delete with POST request:
We could add support in RGW for the same.
#2 Updated by Radoslaw Zarzynski over 5 years ago
- Status changed from 12 to New
- Backport deleted (
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
Content-Type: text/plain; charset=utf-8
Date: Fri, 27 May 2016 14:22:35 GMT
Number Deleted: 8
Number Not Found: 0
Response Status: 200 OK