ajax-upload

Blueimp file uploader with IE9

旧街凉风 提交于 2019-11-28 08:49:49
问题 I am uploading a file to a REST API using this plugin in an AngularJS application. When seconds after the 'fileuploaddone' event fires, I get a yellow notification from Internet Explorer saying: Would you like to save \ open the Screenshot attached. 回答1: Iframe based uploads require a Content-type of text/plain or text/html for the JSON response - they will show an undesired download dialog if the iframe response is set to application/json. Source: https://github.com/blueimp/jQuery-File