Web Development
|
|
 |

|
Hi all,
I have a custom media type that can be handled by a plugin for IE. I listed my custom media type as application/x-roxd in the registry location HKLM\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Accepted Documents
While browsing, Internet Explorer 8 and below used to include this custom MIKE type in the list of accept types in the accept header. Upon receiving this, my server sends some binary data (application/x-roxd), which will in turn be processed by my C++ plugin that's loaded by IE, and the results are shown to the user.
However, IE9 and above won't send a properly complied list of accept types. It instead, sends */* (which means it can accept anything), as described in this IE Internals post: http://blogs.msdn.com/b/ieinternals/archive/2009/07/01/ie-and-the-accept-header.aspx[^] As such, the server isn't able to know if the plugin is installed and the chain of events break from that point as the server doesn't send the binary data back for processing.
They're suggesting that we don't list our MIME types there. I find this somewhat funny because Microsoft seem to list their own MIME types there (for excel, word, etc.,) and yet they're advising others not to do this.
My question now is: Is there a way for me to edit the accept header before it's sent out? All I need is to include application/x-roxd as an accepted MIME type.
Kindly let me know if any more information is required, and your help is highly appreciated.
"Real men drive manual transmission" - Rajesh.
modified 25 Sep '12 - 7:13.
|
|
|
|
 |
|
|
General
News
Suggestion
Question
Bug
Answer
Joke
Rant
Admin