Hm, I don't think axios would do much better here. `fetch` is the official replacement for axios. If both are flawed that's another topic
> `fetch` is the official replacement for axios.
No. Axios is still maintained. They have not deprecated the project in favor of fetch.
Axios has maxContentLength and maxBodyLength options. I would probably go with undici nowadays though (it also has maxResponseSize).