My website allows users to embed content they create on the site into their own blogs or pages using a series of embeds.
Here is the code we provide them:
<script src="[EMBED PROXY URL]" type="text/javascript"></script>
When this code calls the server, it returns something like this:
(function(){
document.write("<iframe src='[EMBED VIEW URL]' frameborder='0' id='item_id_width' name='item_id_width' scrolling='no' marginheight='5px' height='400' width='200'></iframe>")
})();
Although I can see the server receiving the request from the JavaScript code, Internet Explorer 9 & 10 return a HTTP 406 error ("Not accetable"). This issue does not occur in Chrome, Firefox, or Safari.
I have searched online extensively but haven't found anyone else encountering this problem. Any suggestions on how to resolve this would be greatly appreciated.