Skip to content

Commit

Permalink
Add note to reduced response limit
Browse files Browse the repository at this point in the history
  • Loading branch information
jiw-mh authored Mar 19, 2024
1 parent b90057f commit c3b9583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/use-cases/http/binary-requests-responses.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ provider:
This will make API Gateway support binary file uploads and downloads, and Bref will automatically encode responses to base64 (which is what API Gateway expects for binary responses).
Be aware that the max upload and download size is **6MB**. For larger files, use AWS S3. An example is available in [Serverless Visually Explained](https://serverless-visually-explained.com/).
Be aware that the max upload and download size is **6MB** and because [base64 encoding adds a ~33% overhead](https://en.wikipedia.org/wiki/Base64) to the response, downloads are limited to ~4.5MB in size. For larger files, use AWS S3. An example is available in [Serverless Visually Explained](https://serverless-visually-explained.com/).

0 comments on commit c3b9583

Please sign in to comment.