Re: GZip Encoding

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.

Ian

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