From 22c89746c8e2e4a539fd8bb822771c10f15c5110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Thu, 26 Aug 2021 17:59:12 +0200 Subject: [PATCH] Typo fix: indiation -> indication (#144) (cherry picked from commit 5f1509da10cf22bb4fc59de707cb3455b6807d99) --- README.md | 2 +- src/Downloads.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0a5f0b0..9a06510 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ which will be called whenever there are updates about the size and status of the ongoing download. The callback must take two integer arguments: `total` and `now` which are the total size of the download in bytes, and the number of bytes which have been downloaded so far. Note that `total` starts out as zero and -remains zero until the server gives an indiation of the total size of the +remains zero until the server gives an indication of the total size of the download (e.g. with a `Content-Length` header), which may never happen. So a well-behaved progress callback should handle a total size of zero gracefully. diff --git a/src/Downloads.jl b/src/Downloads.jl index fce01ae..b56561d 100644 --- a/src/Downloads.jl +++ b/src/Downloads.jl @@ -201,7 +201,7 @@ which will be called whenever there are updates about the size and status of the ongoing download. The callback must take two integer arguments: `total` and `now` which are the total size of the download in bytes, and the number of bytes which have been downloaded so far. Note that `total` starts out as zero and -remains zero until the server gives an indiation of the total size of the +remains zero until the server gives an indication of the total size of the download (e.g. with a `Content-Length` header), which may never happen. So a well-behaved progress callback should handle a total size of zero gracefully.