mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
fix(s3): return copy destination version id (#3669)
This commit is contained in:
1 parent
e1e98fd8dc
commit
7d58be1d4f
2 files changed
+11
-2
No files matched your search
@@ -2661,6 +2661,9 @@ public class S3Controller {
|
||||
if (copy.getSseKmsKeyId() != null) {
|
||||
response.header("x-amz-server-side-encryption-aws-kms-key-id", copy.getSseKmsKeyId());
|
||||
}
|
||||
if (copy.getVersionId() != null) {
|
||||
response.header("x-amz-version-id", copy.getVersionId());
|
||||
}
|
||||
appendSseCustomerHeaders(response, copy);
|
||||
return response.build();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user