I was wondering if it was possible to define a small request size for all the endpoint but set a higher for specific - “upload” - endpoint to allow for a higher value.
This would ensure that most of the endpoints don’t risk receiving a too heavy request while allowing a specific max size for dedicated endpoint.
I saw that an endpoint with
stream=True can define a custom max request size, but I was wondering if this was possible for non-streamable endpoint.
Also, does it work to define a low REQUEST_MAX_SIZE for the whole project, and a higher for custom endpoint, or does the general configuration will trigger first?
Thank you for the help.