W3C home > Mailing lists > Public > www-lib@w3.org > October to December 2006

w3c -head

From: Jan Hutař <jhutar@redhat.com>
Date: Mon, 11 Dec 2006 16:29:41 +0100
To: www-lib@w3.org
Message-Id: <20061211162941.4a3409ba.jhutar@redhat.com>
Hello,
trying get w3c to show headers (or -options), but cant get them:

-----
$ w3c -head http://www.google.com
Looking up www.google.com
Looking up www.google.com
Contacting www.google.com
Reading...
Done!
Done!
-----

When I try curl instead (--include is for include headers into output), I get lots of headers:

-----
$ curl --include http://www.google.com
HTTP/1.1 302 Found
Location: http://www.google.cz/
Cache-Control: private
Set-Cookie: PREF=ID=99f515bc08daa8ed:TM=1165845519:LM=1165845519:S=TtWgM8sL2LQkc5mI; expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.com
Content-Type: text/html
Server: GWS/2.1
Content-Length: 218
Date: Mon, 11 Dec 2006 13:58:39 GMT

<HTML>...
-----

Same when trying to get available methods for some file (see attached TCP stream):

-----
$ w3c -options -l aaa http://pok/test/dav/test.txt
Looking up pok
Looking up pok
Contacting pok
Reading...
Done!
-----

Seems to me, there is another bug (in w3c, or documentation). Could anybody confirm this?

Wireshark streams for "-head" and "-options" attached.

Regards,
Jan



--
Jan Hutar   Quality Assurance Engineer
jhutar@redhat.com        Red Hat, Inc.



Received on Monday, 11 December 2006 15:29:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:46 GMT