mirror of
https://github.com/versity/versitygw.git
synced 2026-01-03 10:35:15 +00:00
Fixes #1388 Fixes #1389 Fixes #1390 Fixes #1401 Adds the `x-amz-copy-source` header validation for `CopyObject` and `UploadPartCopy` in front-end. The error: ``` ErrInvalidCopySource: { Code: "InvalidArgument", Description: "Copy Source must mention the source bucket and key: sourcebucket/sourcekey.", HTTPStatusCode: http.StatusBadRequest, }, ``` is now deprecated. The conditional read/write headers validation in `CopyObject` should come with #821 and #822.