jquery-iframe-transport icon indicating copy to clipboard operation
jquery-iframe-transport copied to clipboard

IE asks to download JSON file -- Demo

Open PunkChameleon opened this issue 10 years ago • 3 comments

When doing an upload in IE (tested in 10, 9) the browser responds with asking if you want to download the returning JSON file. Is this an issue with the demo or the plugin in general?

PunkChameleon avatar Dec 17 '14 18:12 PunkChameleon

The plugin should generally work in IE all the way down to 6. I'm not sure whether there's an issue with the demo, will need to check when I have access to IE (and a couple of minutes to spare).

cmlenz avatar Dec 17 '14 20:12 cmlenz

Good to know. I think it might have to do with the 'application/json' header in the middleware, but I'm not sure.

PunkChameleon avatar Dec 18 '14 19:12 PunkChameleon

try to add content type 'text/html' in your http response; it helped me to solve this issue in my django-project:

return HttpResponse('', content_type='text/html')

ad-lebedev avatar Jan 26 '15 16:01 ad-lebedev