mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-02-21 12:49:07 +00:00
![]() first layer is via sending HEAD request to the url to determine its size via content-length header however not all hosts properly set the header, so we ignore it if it isn't a valid number next via size option in fetch(), which supposedly limits response body size during the request itself (?) lastly via checking actual bytes written to physical file as reported by fs.createWriteStream() |
||
---|---|---|
.. | ||
handlers | ||
utils | ||
albumsController.js | ||
authController.js | ||
pathsController.js | ||
permissionController.js | ||
tokenController.js | ||
uploadController.js | ||
utilsController.js |