Open
Description
This issue was originally filed by jirkadanek...@gmail.com
What steps will clearly show the issue / need for enhancement?
I have a file which I want to upload to a server. During the upload, I want to update a progressbar for the user.
What is the current output?
I need to resort to using an instance of HttpRequest directly, because neither HttpRequest.sendFormData nor HttpRequest.request allow me to register a listener for HttpRequest.upload.onProgress.
What would you like to see instead?
I suggest adding an onUploadProgress parameter to functions sendFormData and request. Then, the library could do something like
if (onUploadProgress != null) {
xhr.upload.onProgress.listen(onUploadProgress);
}