Xymon Mailing List Archive search

use png's instead of gif's

list Jeremy Laidman
Tue, 26 Nov 2013 10:19:45 +1100
Message-Id: <user-567839072638@xymon.invalid>

On 25 November 2013 16:36, Josh Luthman <user-4c45a83f15cb@xymon.invalid> wrote:
The browser reads the file.  Only Windows executes based on file name.

Yes, that's a good point.  I wondered if the browser instead gets its
queue from the Content-Type header MIME type (that is "image/gif" or
"image/png").  So I tested it.  Apache gives "image/gif" even for a PNG
file, so Apache is looking only at the file extension.  When my browser
(Chrome) gets the image file, it ignores the MIME type and instead looks at
the image file contents to see what it is and how to display it.  Just like
Josh said.

J