IE9 JSON Data To Iframe: "Do You Want To Open or Save This File?" IE9 JSON Data To Iframe: "Do You Want To Open or Save This File?" ajax ajax

IE9 JSON Data To Iframe: "Do You Want To Open or Save This File?"


Well it looks like setting content type to "text/html" does the trick. It's less than ideal since it's not descriptive of the content, but oh well. Hope this helps someone else too.

HTML Forms are limited to sending data in three different content types: text/plain, application/x-www-form-urlencoded, and multipart/form-data

To workaround this issue, server code that currently processes HTML Forms must be rewritten to manually parse the request body into name-value pairs when receiving requests from XDomainRequest objects. This makes adding support for the XDomainRequest object more difficult than it would be otherwise.

References