reproducer (almost):
http://ift.tt/1Hsy2Di
Ext version tested:
Browser versions tested against:
DOCTYPE tested against:
Description:
If you use isUpload:true and form:someform, and you request a file which has the Content-Disposition:attachment header on it, no callback is ever fired.
Steps to reproduce the problem:
The result that was expected:
The result that occurs instead:
http://ift.tt/1Hsy2Di
Ext version tested:
- Ext 4.0.7, 5.0.0, 5.0.1
Browser versions tested against:
- IE8
- FF36
- Chrome41
DOCTYPE tested against:
- <!DOCTYPE html>
Description:
If you use isUpload:true and form:someform, and you request a file which has the Content-Disposition:attachment header on it, no callback is ever fired.
Steps to reproduce the problem:
- Create an Ext.Ajax.request
- Use isUpload: true
- Use form: (attach some form, e.g. an empty one)
- register a callback of any kind (failure, callback, success)
- Send the request to a file which contains the response header
"Content-Disposition: attachment; filename=somefile.txt");
The result that was expected:
- a callback should be fired (at least failure)
The result that occurs instead:
- no callbacks were called
No XHR callbacks if form and isUpload is used with Content-Disposition
Aucun commentaire:
Enregistrer un commentaire