mirror of
https://github.com/versity/versitygw.git
synced 2026-08-21 06:36:23 +00:00
Fixes #1242 S3 returns a specific error for actions that expect an empty request body but receive a non-empty one. Such actions include **CopyObject** and **UploadPartCopy**, which are HTTP PUT requests with no request body. This implementation adds a check for these actions and returns the corresponding error.