Psi Aushilfe3 wrote:
On the other hand FOP could be smart enough to do its job without mime
types at all ;)

Well, FOP does so: it reads a bit ahead and tries matches the signature for the various image formats. The trouble with GIF images starts at GIFImag.java line 85, where the Java run time library is used: ImageProducer ip = (ImageProducer)this.m_href.getContent(); Apparently getContent() relies on the content type, which is actually the correct thing to do (if its available, the signature tests are for recognizing files).

Web servers are expected to set the correct content type.
Otherwise, we get uncoordinated behaviour, like IEx.

J.Pietschmann


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to