Opened 8 years ago

Closed 6 years ago

Last modified 6 years ago

#13375 closed enhancement (fixed)

File API & XMLHTTPRequest 2 unusable with dojo.xhr

Reported by: amv Owned by: Bryan Forbes
Priority: high Milestone: 1.8
Component: IO Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:

Description

A good reference for the Drag & Drop File upload for dojo using the File API and XMLHTTPRequest 2 API can be found here:

https://github.com/speich/fileUploader/blob/master/speich.net/fileUploader/Uploader.js

But as you can see, the code has to deal with the raw XMLHTTPRequest to get to the XMLHTTPRequestUpload object (for progress indications) and to send the File objects.

It would be nice to have the possibility to send File API objects and track upload progress through dojo xhr encapsulation in some near future release even though it will probably not be supported by all browsers in a while.

Is there btw a policy for code dealing with these kinds of features which are not supported by all relevant browsers?

Change History (3)

comment:1 Changed 7 years ago by bill

Component: GeneralIO
Owner: set to Bryan Forbes

You can close this if it's supported in dojo/request already. Otherwise consider the ticket against dojo/request rather than against dojo.xhr.

comment:2 Changed 6 years ago by Bryan Forbes

Resolution: fixed
Status: newclosed

This is supported in dojo/request.

comment:3 Changed 6 years ago by bill

Milestone: tbd1.8
Note: See TracTickets for help on using tickets.