Interesting... the actual image in the example I just sent is a GIF, but I accidentally set the content-type to PNG in the servlet. It still renders properly in both IE and Firefox. I guess they are smart enough to recognize that the actual image type is GIF based on the first few characters of the image file.
- Geoff
There is a lengthy and rather complicated web page on Microsoft's web site that describes the byzantine heuristics that Internet Explorer follows to decide the MIME type of the page. To me, the most bizarre item is that it the Content-Type header is rather low on the list. IE reads the data and attempts to automatically recognize the file type; if it can guess the type with any amount of confidence, that overrides the Content-Type header.
I would not have programmed it that way, personally.
-- - Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc.
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss