I want to serve a file and need to get the "Content-Length" header within the response.
"https://cloud.appwrite.io/v1/storage/buckets/:bucketId/files/:fileId/download"
Adding a "range" header in the request will provide the content length in the "Content-Range" header.
But is there a way to get it in a "Content-Length" header?
TL;DR
Developers want to get the "Content-Length" header when serving a file using the Storage API. By adding a "range" header in the request, the content length can be retrieved from the "Content-Range" header. Unfortunately, there is no direct way to obtain it in the "Content-Length" header.