Closed juranki closed 2 years ago
What would be a typical scenario for binary request / response bodies? I can imagine file uploads or downloads but would consider S3 for those things?
Thank you! :)
Scenarios that require binary are not common, but they do occur.
Granted, Lambda@Edge payload size limit can be difficult in many cases with binary content. But I still feel the adapter is severely incomplete if it only supports text body.
Implement transformations
https://github.com/juranki/sveltekit-cdk/blob/main/packages/adapter/src/files/util.ts#L27-L32 https://github.com/juranki/sveltekit-cdk/blob/main/packages/adapter/src/files/at-edge-handler.ts#L87-L97