The content-length header would ease the calculation of the progress of the download.
So far it seems to be not so easy / not possible without doing a bigger refactor and using a Promise-based approach for some internal methods. And with the current NodeJS versin we can not yet use the native Promise implementation.
The content-length header would ease the calculation of the progress of the download.
So far it seems to be not so easy / not possible without doing a bigger refactor and using a Promise-based approach for some internal methods. And with the current NodeJS versin we can not yet use the native Promise implementation.
https://node.green/#ES2015-built-ins-Promise