Skip to content

Investigate Content-Encoding support #217

@nikeee

Description

@nikeee

Bun has an option to upload pre-encoded data: https://bun.com/blog/bun-v1.3.7#s3-contentencoding-option

const file = s3.file("my-bucket/data.json.gz");

await file.write(compressedData, { contentEncoding: "gzip" });

const bucket = s3.bucket("my-bucket");
await bucket.write("data.json.br", brotliData, { contentEncoding: "br" });

Maybe we could support that, too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions