Skip to content

0.2.0: Add support for resuming partial downloads using HTTP Range requests

Latest
Compare
Choose a tag to compare
@yuhkix yuhkix released this 27 May 16:30
· 12 commits to main since this release

Linux SHA-256: 0246ef7147ef170e282a85994a0ad453d765f557
Windows SHA-256: fc84942ec3edfb68ce29de9de4d05151f5587c3a

  • Modified download_single_file to check for an existing partially downloaded file
  • If present, uses HTTP Range headers to resume the download from the last byte
  • Opens file in append mode rather than overwriting it
  • Handles HTTP 206 Partial Content and 416 Range Not Satisfiable responses
  • Updates progress bar and download state accordingly during resumed downloads