Skip to content

Added some new functionality, release V3 - #17

Merged
cmaglie merged 7 commits into
mainfrom
refactors
Jan 7, 2026
Merged

cmaglie merged 7 commits into
mainfrom
refactors

Conversation

@cmaglie

@cmaglie cmaglie commented Jan 5, 2026 •

Copy link
Copy Markdown
Member
  • Allow adding headers to the HTTP request
  • Allow checking the HEAD result before starting the download (and also allow aborting the download)
  • Ensure all resources are closed on both download completion and error.
  • Moved NoResume option into Config and removed DownloadOptions. This is a breaking change.
  • Removed Close method.
  • Removed obsolete AsyncRun method.
  • Released v3 to allow breaking changes.

@lucarin91 lucarin91 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a small optional comment

Comment thread downloader.go Resolved
@cmaglie
cmaglie merged commit 7caf564 into main Jan 7, 2026
3 checks passed
@cmaglie
cmaglie deleted the refactors branch January 7, 2026 11:57
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.

before downloding a file we should check if there is enough space on the disk allow passing extra header to the http client

2 participants