PcontentEncoding
Bun

property

S3FilePresignOptions.contentEncoding

contentEncoding?: string

The Content-Encoding header value. Specifies what content encodings have been applied to the object, for example to indicate that it has been compressed.

// Setting gzip encoding
    const file = s3.file("data.json.gz", {
      contentEncoding: "gzip"
    });