mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-13 10:28:11 -04:00
This is to replicate the nginx behaviour. If the entire request is larger than MAX_CONTENT_LENGTH [1] an entity too large error is raised [2]. Enable for all environments except Staging and Production (i.e. Development, Preview, Test) 1: https://flask.palletsprojects.com/en/1.1.x/patterns/fileuploads/#improving-uploads 2: https://werkzeug.palletsprojects.com/en/1.0.x/exceptions/#werkzeug.exceptions.RequestEntityTooLarge
21 KiB
21 KiB