Rodn check available disk space before downloading files
Content-Length is present when files are downloaded from DLCM backend. (e.g. Deposit -> SIP, SIP -> AIP, AIP -> AIPDownload), meaning the space check is done in this case.
When importing from somewhere else -> DLCM (e.g. PHP front), the Content-Length may be missing. In this case I didn't block the download, as it would prevent legitimate actions.
Edited by Nicolas.Rod