Add `Content-Length` header to resource download endpoint
It would be nice to add the Content-Length
header to the file download endpoint.
This would allow showing the progress of the download instead of just a spinning circle. Currently, we can know how much has been downloaded at any point but without the Content-Length
header, we cannot know how much is left to download.
https://icatplus.esrf.fr/resource/sessionId/file/download?resourceId=6560a7e4c7cf36001b1f6ea2
This would be quite useful for the bigger images/files that can take a bit longer to load (example workflow report on MX) and are sometimes confusing with no indication on progress.
Do you think it is possible?
Edited by Mael Gaonach