-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Addon for upload progress #199
Comments
Currently it only reports once - at the end of the upload - which is not ideal.
|
Hey @kibertoad,
Unfortunately no, this is a limitation of using fetch :/. See: #154 |
@elbywan document linked in that issue states that everything but firefox support it, and firefox has miniscule market share. is it still too early for this feature? |
Hey @kibertoad, I think the link you are referring to is about the In addition, Safari does not support upload streaming which is a bit different (passing the body as a readable stream to fetch): fetch("/", {
method: 'POST',
headers: {'Content-Type': 'text/plain'},
body: stream, // a previously constructed stream
duplex: 'half',
}); Gives:
Yes I think it would be better to wait or proper support - and a proper API. |
There is whatwg/fetch#607, apparently. |
Is it possible to have something similar to https://github.com/elbywan/wretch#progress- for the upload progress?
This is for implementing upload progress indicators.
Something like this: https://github.com/axios/axios/blob/main/examples/upload/index.html
The text was updated successfully, but these errors were encountered: