This commit is contained in:
dpyzo0o 2020-01-15 19:57:59 +08:00
parent a4a84083a7
commit 92658d280d
2 changed files with 2 additions and 2 deletions

View file

@ -107,6 +107,6 @@ Let's explain that step-by-step:
let blob = new Blob(chunks);
```
At we end we have the result (as a string or a blob, whatever is convenient), and progress-tracking in the process.
At the end we have the result (as a string or a blob, whatever is convenient), and progress-tracking in the process.
Once again, please note, that's not for *upload* progress (no way now with `fetch`), only for *download* progress.

View file

@ -44,7 +44,7 @@ To resume upload, we need to know *exactly* the number of bytes received by the
This assumes that the server tracks file uploads by `X-File-Id` header. Should be implemented at server-side.
If the file don't yet exist at the server, then the server response should be `0`
If the file doesn't yet exist at the server, then the server response should be `0`
3. Then, we can use `Blob` method `slice` to send the file from `startByte`:
```js