11 ms·
S3 _does_ support CAS on copyObject [0]. Cloudflare supports CAS on copyObject and on putObject [1]. It doesn't support CAS on deleteObject. I don't know abou
by personomas 2y ago
S3 _does_ support CAS on copyObject [0].
Cloudflare supports CAS on copyObject and on putObject [1]. It doesn't support CAS on deleteObject.
I don't know about the others though (ABS, GCS, Tigris, MinIO).
https://developers.cloudflare.com/r2/api/s3/extensions/#conditional-operations-in-putobject https://developers.cloudflare.com/r2/api/s3/extensions/#cond...
[0] https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html#API_CopyObject_RequestSyntax https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObje...
[1] https://developers.cloudflare.com/r2/api/s3/extensions/#conditional-operations-in-putobject https://developers.cloudflare.com/r2/api/s3/extensions/#cond...
- yencabulator 2y agoDoes it? The x-amz-copy-source-if-match etc headers seem to be talking about the source, not the target. I see nothing there to express "fail if target object exists already".
- personomas 2y agoSure, but the source one is also completely relevant and important.