Skip to content

Commit

Permalink
Merge pull request #1759 from jiw-mh/patch-1
Browse files Browse the repository at this point in the history
Add note to about reduced response limit with binary responses
  • Loading branch information
mnapoli authored Mar 19, 2024
2 parents b90057f + c3b9583 commit e903508
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 e903508

Please sign in to comment.