jquery-iframe-transport
jquery-iframe-transport copied to clipboard
IE asks to download JSON file -- Demo
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?
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).
Good to know. I think it might have to do with the 'application/json' header in the middleware, but I'm not sure.
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')