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

Re: GZip Encoding

From: Ian Yates <ian@iyates.co.uk>
Date: Mon, 19 Jul 2004 23:51:46 +0100 (GMT Standard Time)
Message-Id: <40FC5082.000001.01108@PRODIGY2>
To: <ville.skytta@iki.fi>, <www-validator@w3.org>
Okay. I'm not quite sure what's happened here.

In PHP I've used $_SERVER['HTTP_ACCEPT_ENCODING'] to check the requesting
browser accepts gzip data. This has worked fine for all browsers I've
checked, but caused errors in the validator because it was receiving the
gzip data and attempting to parse it (obviously causing problems).
I retested it after your post (without making any changes), and it now
requests the file so that it doesn't get returned compressed in gzip.
Not quite sure why it would suddenly change, but I've checked the validator
headers and must confirm that it sends to encoding types to accept.

I don't know where the error was, but would assume it was an inconsistency
at my end - sorry for wasting your time.

Received on Monday, 19 July 2004 18:52:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:43 UTC