On Fri, 2004-01-23 at 07:17, Jonathan Hunt wrote:
> > > What's up with the valid CSS image being a 124K animated GIF?
> > It's a 1.1k .png for me
> Yeah, it's definitely around the 1k mark, and it's definitely a gif...
Actually the gif is 1.5k. If you telnet in like that you are not sending
the "Accept:" header like your browser does so the server does not know
you are able to accept the image/png mime-type. Try it and send an
Accept header letting the server know you will accept the image/png
mime-type and it will give you a 1.1k .png.
$ telnet jigsaw.w3.org 80 | strings
Connected to w3c5.inria.fr (184.108.40.206).
Escape character is '^]'.
GET /css-validator/images/vcss HTTP/1.0
HTTP/1.1 200 OK
Date: Fri, 23 Jan 2004 16:10:08 GMT
Expires: Thu, 29 Jan 2004 16:10:08 GMT
Last-Modified: Sat, 15 Mar 2003 22:14:13 GMT
Connection closed by foreign host.
> What I found most interesting is that the gif itself has the
> text "Valid CSS!" embedded in the binary.
Because you can embed comments in a .gif file you'll notice you do not
see that in the above .png output.
Brian GnuPG -> KeyID: 0x04A4F0DC | URL: www.gfx-design.com/keys
Key Server: pgp.mit.edu
gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC
Linux Registered User #339825 at http://counter.li.org
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/