On 7/13/06, Guy Thornley <g...@esphion.com> wrote:
Im sure there is plenty of other things. Oh there definately is: theres no option for "treat as plain text" when opening an unsupported mime type. The server is always right, is it?
Yes. Yes it is. "If and only if the media type is not given by a Content-Type field, the recipient MAY attempt to guess the media type via inspection of its content and/or the name extension(s) of the URI used to identify the resource." (RFC 2616) See also http://ppewww.ph.gla.ac.uk/~flavell/www/content-type.html . Or http://ppewww.ph.gla.ac.uk/~flavell/tests/spoof.jpg (which has rather different effects in IE compared to web browsers). Software that ignores this, and decides to sniff instead, is hateful. As is web server software that is incorrectly configured and serves useless thing such as "text/plain" for images. -- Philip Newton <philip.new...@gmail.com>