IE Bug Using Ajax Header Loads

IE Bug Using Ajax Header Loads


Using the document head to load local script and jsonp files is not
sending a "text/javascript" or "application/javascript" request Accept
header for Internet Explorer 7. I tried adding script.type = "text/
javascript" and its still causing IE to send an Accept header of "*/
*".
My application depends on the Accept Header for javascript because the
url does not have an extension, this is how I determine what type of
content to send back in the response. JavaScript, Xml, Html, etc?
Any ideas?