W3C home > Mailing lists > Public > www-validator@w3.org > July 2002

Re: Image Tag

From: Olivier Thereaux <ot@w3.org>
Date: Wed, 10 Jul 2002 13:49:55 +0900
To: Simon Fuhrmann <NightSlayer@gmx.de>
Cc: www-validator@w3.org
Message-ID: <20020710044955.GA15992@w3.mag.keio.ac.jp>

On Tue, Jul 09, 2002, Simon Fuhrmann wrote:
> Why there is no file-extension (.png or so) in the img-tag src-attribut 
> value (src="http://www.w3.org/Icons/valid-html401")?

That's called Content-Negociation. It's a feature of the HTTP protocol
which allows "equivalent" resources to be negociated on the basis of
what the client declares (in most cases the client is your browser,
which says "I like PNGs more than GIFs", for example) to return the
"best choice".

More info here:
http://www.w3.org/Protocols/HTTP/Negotiation.html

-- 
Olivier
Received on Wednesday, 10 July 2002 00:49:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:03 GMT