From d0f2dfdd1e3fbec3dba910c4948574253c584305 Mon Sep 17 00:00:00 2001 From: Szymon Marczak <36894700+szmarczak@users.noreply.github.com> Date: Sat, 23 Nov 2019 16:27:26 +0100 Subject: [PATCH] Mention that `progress.total` can be `undefined` --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index b9c8c571f..02808b7de 100644 --- a/readme.md +++ b/readme.md @@ -754,7 +754,7 @@ Progress events for uploading (sending a request) and downloading (receiving a r } ``` -If it's not possible to retrieve the body size (can happen when streaming), `total` will be `null`. +If it's not possible to retrieve the body size (can happen when streaming), `total` will be `undefined`. ```js (async () => {