-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to monitor the 'progress' of the upload? #202
Comments
Monitoring progress is not a feature of the Fetch API. Using Bonus tip! You can use the triple back tick ``` to format code blocks in comment fields: |
This should do the trick: https://gist.github.com/domenic/95e689d0be5e24fb08ec |
Did it plan to include it in the final specs? |
It is already included in the spec, in a different form; please see the above linked gist for how you can translate from the new form to the old form. |
ok, thanks you! |
ok. i got it. thanks much. |
@domenic I don't understand how to use that snippet to monitor upload progress - in the spec I can only see streams for the response object, not the request object… |
use XMLHttpRequest, i listener 'progress', as below:
How do this with fetch ?
The text was updated successfully, but these errors were encountered: