From 2d458dbdd7546b49ff5c42f5c31520f0c3ab12e1 Mon Sep 17 00:00:00 2001 From: Konrad Date: Tue, 26 Mar 2024 13:08:19 +0100 Subject: [PATCH] feat: allow setting contentEncoding during compose --- src/bucket.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bucket.ts b/src/bucket.ts index 599620834f..be792435fb 100644 --- a/src/bucket.ts +++ b/src/bucket.ts @@ -1658,6 +1658,7 @@ class Bucket extends ServiceObject { json: { destination: { contentType: destinationFile.metadata.contentType, + contentEncoding: destinationFile.metadata.contentEncoding, }, sourceObjects: (sources as File[]).map(source => { const sourceObject = {