#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 9 years ago by
Component: | General → IO |
---|---|
Owner: | set to Bryan Forbes |
comment:2 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
This is supported in dojo/request
.
comment:3 Changed 7 years ago by
Milestone: | tbd → 1.8 |
---|
You can close this if it's supported in dojo/request already. Otherwise consider the ticket against dojo/request rather than against dojo.xhr.