Comment 1 for bug 1822387

Revision history for this message
Tim Burke (1-tim-z) wrote :

Note that there's similar fun behavior with DELETEs, even without nesting:

$ curl http://saio:8090/v1/AUTH_test/c -X PUT

$ curl http://saio:8090/v1/AUTH_test/c/seg1 -X PUT -d 1234

$ curl http://saio:8090/v1/AUTH_test/c/seg2 -X PUT -d 5678

$ curl http://saio:8090/v1/AUTH_test/c/slo?multipart-manifest=put -X PUT -d '[{"path":"c/seg1"},{"path":"c/seg2"}]'

$ curl http://saio:8090/v1/AUTH_test/c/slo
12345678
$ curl http://saio:8090/v1/AUTH_test/c/seg1 -X PUT -d asdf

$ curl http://saio:8090/v1/AUTH_test/c/slo?multipart-manifest=delete -X DELETE
Number Deleted: 3
Number Not Found: 0
Response Body:
Response Status: 200 OK
Errors:

... but without a DELETE That can respect If-Match: <etag>, I'm not sure there's much we can do.