|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
w3c -headHello,
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@... Red Hat, Inc. HEAD /test/dav/head.php HTTP/1.1 Accept: */* Accept-Encoding: *;q=0.3,deflate TE: trailers,deflate Host: pok User-Agent: W3C-WebCon/5.4.1 libwww/5.4.1 Connection: TE,Keep-Alive HTTP/1.1 200 OK Date: Mon, 11 Dec 2006 15:19:48 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.1.6 Cache-Control: public Connection: close Content-Type: text/html OPTIONS /test/dav/test.txt HTTP/1.1 Accept: */* Accept-Encoding: *;q=0.3,deflate TE: trailers,deflate Host: pok User-Agent: W3C-WebCon/5.4.1 libwww/5.4.1 Connection: TE,Keep-Alive HTTP/1.1 200 OK Date: Mon, 11 Dec 2006 15:16:46 GMT Server: Apache/2.2.3 (Red Hat) DAV: 1,2 DAV: <http://apache.org/dav/propset/fs/1> MS-Author-Via: DAV Allow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,PUT,LOCK,UNLOCK Content-Length: 0 Connection: close Content-Type: text/plain |
| Free embeddable forum powered by Nabble | Forum Help |