-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhancement: add support for s3.put_object
IfNoneMatch
option
#8091
Labels
Comments
Hi @mbant, welcome to Moto! I've opened a PR with support for this feature. |
Hi @bblommers ! Thanks for the quick turnaround for this one :) |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
S3 recently added support for conditional writes: https://aws.amazon.com/about-aws/whats-new/2024/08/amazon-s3-conditional-writes/
https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestParameters
Would be cool to be able to test this using moto!
The issue can be tested with the following snippet
You can see for yourself that this fails (as in the write to S3 succeeded) using
mock_aws()
while it behaves correctly if I use a real S3 client on a real bucket.The text was updated successfully, but these errors were encountered: