Skip to content

Commit 8090aa6

Browse files
authored
Update article.md
1 parent c89ddc5 commit 8090aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-network/03-fetch-progress/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The `fetch` method allows to track *download* progress.
55

66
Please note: there's currently no way for `fetch` to track *upload* progress. For that purpose, please use [XMLHttpRequest](info:xmlhttprequest), we'll cover it later.
77

8-
To track download progress, we can use `response.body` property. It's `ReadableStream` -- a special object that provides body chunk-by-chunk, as it comes. Readable streams are described in the [Streams API](https://streams.spec.whatwg.org/#rs-class) specification.
8+
To track download progress, we can use `response.body` property. It's `ReadableStream` -- a special object that provides body chunk-by-chunk, as it comes. Readable streams are described in the [Streams API](https://streams.spec.whatwg.org/#rs-class) specification.
99

1010
Unlike `response.text()`, `response.json()` and other methods, `response.body` gives full control over the reading process, and we can count how much is consumed at any moment.
1111

0 commit comments

Comments
 (0)