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

[Bug] the HTML validator doesn't handle the Content-Encoding header

From: Dominique HazaŽl-Massieux <dom@w3.org>
Date: 17 Oct 2002 17:08:04 +0200
To: www-validator@w3.org
Message-Id: <1034867285.18193.531.camel@stratustier>
Hey guys,

I've just found that the HTTP client of the HTML Validator doesn't
acknowledge the Content-Encoding header, in that a document served as
text/html + content-encoding: gzip will be handled in it binary format,
which of course won't work (and it might actually generate an invalid
Invalid page, since the source of the file will be included in the error
message).

This bug is present both in the production and development versions of
the validator. The correct behavior would be:
- either to discard any document served with a content-encoding as non
supported
- or to actually decode the content-encoded document for a set of
well-known encoding

Dom
-- 
Dominique HazaŽl-Massieux - http://www.w3.org/People/Dom/
W3C/INRIA
mailto:dom@w3.org

Received on Thursday, 17 October 2002 11:08:05 GMT

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