In article <pan.2009.10.22.09.46.29.516139 (AT) john (DOT) dunlop.name>,
John Dunlop <john (AT) dunlop (DOT) name> wrote:
Quote:
Eric:
However content negotiation also fails, as Internet Explorer is one of
the browsers that claims it accepts pretty much anything.
If Internet Explorer gives text/html a higher quality value than it does
application/xhtml+xml or */*, it would get HTML. Even if text/html and */*
have equal quality values, you could default to text/html. Or you could
just serve XHTML to browsers that explicitly specify application/xhtml+xml
(I take it IE doesn't do that!?). Or you could ignore my throwaway remark
and just serve HTML. :-) |
http://www.newmediacampaigns.com/page/browser-rest-http-accept-headers
Internet Explorer 8
Accept: image/jpeg, application/x-ms-application, image/gif,
application/xaml+xml, image/pjpeg, application/x-ms-xbap,
application/x-shockwave-flash, application/msword, */*
or if Windows has MS Office installed, then
Accept: image/gif, image/jpeg, image/pjpeg, application/x-ms-application,
application/vnd.ms-xpsdocument, application/xaml+xml,
application/x-ms-xbap, application/x-shockwave-flash,
application/x-silverlight-2-b2, application/x-silverlight,
application/vnd.ms-excel, application/vnd.ms-powerpoint,
application/msword, */*
However on a page refresh, IE will probably send only */*
http://blogs.msdn.com/ieinternals/archive/2009/07/01/9811694.aspx
Like I said, Internet Explorer is the village idiot of web browsers.
It is not my job to fix up Microsoft's errors when serving web pages.
These problems have been brought to their attention.
It is also not my job to rewrite Apache defaults when their defaults are
correct.