Skip to content

feat: resume interrupted transfers - #9

Merged
coroa merged 3 commits into
mainfrom
feat/resume-interrupted-transfers
Mar 18, 2026
Merged

coroa merged 3 commits into
mainfrom
feat/resume-interrupted-transfers

Conversation

@coroa

@coroa coroa commented Feb 26, 2026 •

Copy link
Copy Markdown
Member

Changes

  • Resumable downloads: Interrupted transfers are continued from where they left off using HTTP Range requests (206 Partial Content). Servers that do not support range requests fall back to a full re-download.
  • Exception handling cleanup:
Exception Behaviour
httpx.TransportError Keep partial file, retry (resume from offset)
httpx.HTTPStatusError (from raise_for_status()) Delete partial file, retry from scratch
WrongChecksum Delete partial file, retry from scratch
WorkflowError (invalid URL, missing manifest) Delete partial file, no retry
KeyboardInterrupt / SystemExit / Exception Delete partial file, no retry

@coroa
coroa changed the base branch from main to feat/support-generic-http-urls February 26, 2026 15:25
@coroa

coroa commented Feb 26, 2026

Copy link
Copy Markdown
Member Author

Damn webarchive does not deliver anything beyond 2GB, useless

@coroa
coroa force-pushed the feat/resume-interrupted-transfers branch from 1c56ac2 to 7997da8 Compare March 18, 2026 11:03
@coroa
coroa changed the base branch from feat/support-generic-http-urls to main March 18, 2026 11:06
@coroa
coroa merged commit 23602bc into main Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant