There are different use cases where it would be helpful, if the OCFL Java API supports RangeRequests:
- download of very large files
- mulitpart downloads / resume download on error
- retrieve parts of files
- Cover Images / first page from PDF files
- get single files from TAR archive or uncompressed ZIP
Currently we can only get the whole input stream, skip first bytes and close early, after the request is fulfilled.
But most of the implementations support RangeRequest directly (like RandomAccessFiles in Java or Range-Requests for S3Objects).
It would be very useful if the OCFL Java API could be enhanced with methods to request ranges of files and pass them through to the underlying implementations.
There are different use cases where it would be helpful, if the OCFL Java API supports RangeRequests:
Currently we can only get the whole input stream, skip first bytes and close early, after the request is fulfilled.
But most of the implementations support RangeRequest directly (like RandomAccessFiles in Java or Range-Requests for S3Objects).
It would be very useful if the OCFL Java API could be enhanced with methods to request ranges of files and pass them through to the underlying implementations.