Skip to content

Commit

Permalink
Mention that progress.total can be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
szmarczak committed Nov 23, 2019
1 parent 8874a45 commit d0f2dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -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 () => {
Expand Down

0 comments on commit d0f2dfd

Please sign in to comment.