Finch: how to implement max body length?

On Hackney/HTTPoison, there is a max body length configuration that is passed to &read_body/3.

The documentation says:

This is most useful to quickly be able to get the full body while avoiding filling your memory with huge request bodies when you’re not expecting it.

My team wants to switch to Finch, but how to be sure we won’t fill our memory with huge request bodies? We need to query client servers, and we can’t assert the size of the body will be small, but we still want to protect our servers.

Should we re implement the request stream to stop if greater than a certain limit, or is there any easier way to have the size protection? Or maybe this is a wrong assumption and we shouldn’t be doing this with Finch?