-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
- processBeforeDownload
- do nothing (currently default)
- log or warn
- mark as
shouldBeDiscardedFromDownload - skip and return void
- download
- do nothing (currently default)
- log or warn
- request newer version with
If-Modified-Sinceand checkLast-Modified read from diskread from disk if not newer than remote- discard
- continue to download if remote is larger, read from disk if else
- saveToDisk
- overwrite (currently default)
- log or warn
- save if newer by checking
Last-Modified - save with another name
What about urls with savePath pointing at non-existing files redirected to existing files?
Maybe we can use a bitset containing options and 3 optional life cycle function for this.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request