I had a problem at work which I solved, but that raised me another question.
I wanted to export a page to excel, so I used this:
response.setContentType("application/vnd.ms-excel;charset=iso-8859-7");
It worked but while I was searching for an answer I found 3 possible content types for the excel:
> application/vnd.ms-excel
> application/x-msexcel
> application/ms-excel
As well as this: http://stason.org/TULARC/business/spreadsheets/10-19-What-is-the-correct-registered-MIME-Content-Type-for.html
What is the correct, registered MIME Content-Type for Excel files?
application/vnd.ms-excel
see http://www.isi.edu/in-notes/iana/assignments/media-types/application/vnd.ms-excel
so don't use any of these:
application/ms-excel
application/msexcel
application/excel
application/x-ms-excel
application/x-msexcel
application/x-excel
application/octet-stream
QUESTION:
Why only this: application/vnd.ms-excel is correct and those are not:
> application/x-msexcel
> application/ms-excel