W3C home > Mailing lists > Public > www-validator@w3.org > April 2001

Re: small error on your page

From: Terje Bless <link@tss.no>
Date: Thu, 26 Apr 2001 12:06:52 +0200
To: Robert Readling <rreadling@alltel.net>
Cc: www-validator@w3.org
Message-ID: <20010426123234-b01010701-13ceb6a7@>
On 23.04.01 at 08:43, Robert Readling <rreadling@alltel.net> wrote:

>The actual validator gif image code is missing the ".gif" on the end of
>the image filename.  You might want to correct that, or was that a test to
>see if we are all worthy?  I hope I passed.

It's a test and you failed. Shame on you! :-)

Actually, it's simply an artifact of the way content negotiation is
implemented in the web server we use. If I have two files -- say, foo.gif
and foo.png -- and I write my image links such that they point to just
"foo", the web server will offer both files to the client and let it choose
which format it prefers. Smart browsers should automatically add the
filename extension on platforms that need it (only Windows uses filename
extensions tio determine file type).

Anyways, there is nothing wrong with the file and if you just rename it
have the proper filename extension it should display properly on your local
box too. On the web page (i.e. in your browser window) it should look fine
Received on Thursday, 26 April 2001 06:32:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:29 UTC