Click here to Skip to main content
15,887,273 members
Home / Discussions / Web Development
   

Web Development

 
Questionbrowsers adding whitespace to display (solved) Pin
cjoki4-Oct-12 6:03
cjoki4-Oct-12 6:03 
AnswerRe: browsers adding whitespace to display Pin
n.podbielski9-Oct-12 3:59
n.podbielski9-Oct-12 3:59 
GeneralRe: browsers adding whitespace to display Pin
cjoki9-Oct-12 5:02
cjoki9-Oct-12 5:02 
GeneralRe: browsers adding whitespace to display Pin
User 17164929-Oct-12 5:27
professionalUser 17164929-Oct-12 5:27 
GeneralRe: browsers adding whitespace to display Pin
cjoki9-Oct-12 5:49
cjoki9-Oct-12 5:49 
GeneralRe: browsers adding whitespace to display Pin
cjoki9-Oct-12 6:04
cjoki9-Oct-12 6:04 
GeneralRe: browsers adding whitespace to display Pin
n.podbielski9-Oct-12 6:15
n.podbielski9-Oct-12 6:15 
GeneralRe: browsers adding whitespace to display Pin
shanucis17-Oct-12 3:49
shanucis17-Oct-12 3:49 
General.NET is Hell (subtitle: An error message from Microsoft) Pin
MacSpudster4-Oct-12 4:45
professionalMacSpudster4-Oct-12 4:45 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
Peter_in_27804-Oct-12 12:05
professionalPeter_in_27804-Oct-12 12:05 
GeneralRe: .NET is Hell (subtitle: An error message from Microsoft) Pin
MacSpudster4-Oct-12 12:10
professionalMacSpudster4-Oct-12 12:10 
Questionprinting on client's printer from web application running on server Pin
SKABBASJ2-Oct-12 0:27
SKABBASJ2-Oct-12 0:27 
AnswerRe: printing on client's printer from web application running on server Pin
SKABBASJ2-Oct-12 0:29
SKABBASJ2-Oct-12 0:29 
AnswerRe: printing on client's printer from web application running on server Pin
Pete O'Hanlon2-Oct-12 2:10
mvePete O'Hanlon2-Oct-12 2:10 
QuestionRTL Mobile website bad format on a Samsung Star mobile Pin
Ahmad Safwat30-Sep-12 3:25
Ahmad Safwat30-Sep-12 3:25 
QuestionSMS URL on htc mobile Invalid Recipient error Pin
Ahmad Safwat30-Sep-12 3:24
Ahmad Safwat30-Sep-12 3:24 
QuestionDialog auto-resize Pin
awedaonline27-Sep-12 8:25
awedaonline27-Sep-12 8:25 
AnswerRe: Dialog auto-resize Pin
Rockstar_7-Oct-12 21:01
professionalRockstar_7-Oct-12 21:01 
GeneralRe: Dialog auto-resize Pin
awedaonline12-Oct-12 1:12
awedaonline12-Oct-12 1:12 
QuestionMultilingual webpage Pin
Akash Patel25-Sep-12 6:27
Akash Patel25-Sep-12 6:27 
AnswerRe: Multilingual webpage Pin
Andrei Straut25-Sep-12 6:58
Andrei Straut25-Sep-12 6:58 
AnswerRe: Multilingual webpage Pin
Mighty Raju27-Sep-12 2:55
Mighty Raju27-Sep-12 2:55 
QuestionModifying accept header with IE9 and above Pin
Rajesh R Subramanian25-Sep-12 0:41
professionalRajesh R Subramanian25-Sep-12 0:41 
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
C++
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:13am.

Questionvariable element id Pin
safa223-Sep-12 20:29
safa223-Sep-12 20:29 
AnswerRe: variable element id Pin
Andrei Straut24-Sep-12 20:25
Andrei Straut24-Sep-12 20:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.