Merge pull request #9246 from rreimann/master

Clarify requirements for resumable downloads
This commit is contained in:
Kevin Sawicki 2017-04-24 08:50:55 -07:00 committed by GitHub
commit d3ae1d8d23

View file

@ -100,6 +100,8 @@ Returns `Boolean` - Whether the download is paused.
Resumes the download that has been paused.
**Note:** To enable resumable downloads the server you are downloading from must support range requests and provide both `Last-Modified` and `ETag` header values. Otherwise `resume()` will dismiss previously received bytes and restart the download from the beginning.
#### `downloadItem.canResume()`
Resumes `Boolean` - Whether the download can resume.