webhead requests only the header from a web server using the HEAD (request) method. Instead of returning the content of a page, it returns only the meta-content from that page. (An example of this is given below).

The value of this utility is:

Here is a sample run against this web site:

$ ./webhead www.tablespace.net/webhead/index.html
HTTP/1.1 200 OK
Date: Mon, 22 May 2006 15:17:38 GMT
Server: Apache/2.0.46 (Red Hat)
Last-Modified: Sun, 18 Dec 2005 01:45:33 GMT
ETag: "126c0d8-66b-97108940"
Accept-Ranges: bytes
Content-Length: 1643
Connection: close
Content-Type: text/html

The Distribution:

The distribution is C source.



This code is released under the GNU license.

Application Notes: