mirror of
https://github.com/versity/versitygw.git
synced 2026-07-20 23:12:28 +00:00
61308d2fbf
Fixes #1709 If any precondition header is present(`If-Match`, `If-None-Match`) in `PutObject` and `CompleteMultipartUpload` and there's no object in the bucket with the given key, a `NoSuchKey` error is now returned. Previously the headers were simply ignored and new object creation was allowed.