Contrary to the documentation, it seems you are always forced to manually pass the file length. The code trying to read the Content-Length header is not working. My little understanding (and after lot of debugging) is that fetch is doing a "cors" mode request, and Content-Length is not whitelisted in this mode.
Contrary to the documentation, it seems you are always forced to manually pass the file length. The code trying to read the Content-Length header is not working. My little understanding (and after lot of debugging) is that fetch is doing a "cors" mode request, and Content-Length is not whitelisted in this mode.