mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Clarify requirements for resumable downloads
This commit is contained in:
@@ -100,6 +100,8 @@ Returns `Boolean` - Whether the download is paused.
|
||||
|
||||
Resumes the download that has been paused.
|
||||
|
||||
**Note:** To enable resumable downloads in the narrow sense the server you are downloading from must support range requests and provide a Last-Modified as well as an ETag header value. Otherwise `resume()` will dismiss previously received bytes and restart the download from the beginning.
|
||||
|
||||
#### `downloadItem.canResume()`
|
||||
|
||||
Resumes `Boolean` - Whether the download can resume.
|
||||
|
||||
Reference in New Issue
Block a user