* If file still exists, resume the download using range requests. * Avoid deleting files when download fails as we can resume the download again. * Assert for expected SHA and actual SHA to match * Verify SHA after download is finished to avoid complicated logic Ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>