HTTP HEAD Request Example

part of grumet.net

What I typed is shown in bold typeface.

bash-2.05b$ telnet www.legaltorrents.com 80
Trying 69.93.81.74...
Connected to www.legaltorrents.com.
Escape character is '^]'.
HEAD /bit/thinner-archives-vol-1.zip.torrent HTTP/1.1
HEAD /bit/thinner-archives-vol-1.zip.torrent HTTP/1.1
Host: www.legaltorrents.com
Host: www.legaltorrents.com
[hit enter again]

HTTP/1.1 200 OK
Date: Wed, 17 Mar 2004 18:00:49 GMT
Server: Apache/2.0.48 (Unix) mod_ssl/2.0.48 OpenSSL/0.9.6l PHP/4.3.4
Last-Modified: Wed, 25 Feb 2004 22:37:23 GMT
ETag: "1450013-6514-e905eec0"
Accept-Ranges: bytes
Content-Length: 25876
Connection: close
Content-Type: application/x-bittorrent