[EMAIL PROTECTED] wrote:
> 
> hi,
>   anyone recall howto get 'only' the initial header from http servers?
> TIA

HEAD is the command you want:

cuvarack:~/$ telnet impetus 80
Trying 192.168.20.3...
Connected to impetus.
Escape character is '^]'.
HEAD / HTTP/1.0
 
HTTP/1.1 200 OK
Date: Wed, 11 Apr 2001 18:24:40 GMT
Server: Apache/1.3.17 (Unix) mod_perl/1.25 mod_ssl/2.8.0 OpenSSL/0.9.6
Content-Length: 787
Connection: close
Content-Type: text/html
 
Connection closed by foreign host.
cuvarack:~/$

-- 

Regards,

Wim Kerkhoff, Software Engineer
Merilus, Inc.  -|- http://www.merilus.com
Email: [EMAIL PROTECTED]

Reply via email to