Skip to content
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

Add support for proper onprogress events for file uploads #20

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ekhaled
Copy link

@ekhaled ekhaled commented Nov 3, 2016

when sending formData, we need to attach the onprogress handler to request.upload
instead of directly to request.
This ensures that the onprogress handler receives events with lengthComputable = true

when sending formData, we need to attach the `onprogress` handler to `request.upload`
instead of directly to `request`.
This ensures that the `onprogress` handler receives events with `lengthComputable = true`
@yanatan16
Copy link
Owner

Could you add some documentation and tests? I'd like to run it through a multi-platform test suite.

@ekhaled
Copy link
Author

ekhaled commented Nov 17, 2016

Think these should do the trick 😄

On a side note, Zuul seems a bit temperamental. It keeps failing the cors tests for no reason intermittently. Don't know if you were aware of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants