Use cached result if there is a network error
This commit is contained in:
parent
1fc905ad4c
commit
4ed2187377
3 changed files with 15 additions and 8 deletions
|
|
@ -13,4 +13,6 @@ struct DownloadResult
|
|||
|
||||
DownloadResult downloadFile(string url, string expectedETag = "");
|
||||
|
||||
MakeError(DownloadError, Error)
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue