Viewing HTTP headers

Paul Marquess Paul_Marquess at yahoo.co.uk
Fri Aug 3 04:55:07 CDT 2001


From: owner-belfast-pm at pm.org [mailto:owner-belfast-pm at pm.org]On Behalf

> I'd like to use perl to view the HTTP headers that a web server
> sends out.
> ISTR seeing a very short (one liner?) way of doing this, but I can't find
> it again. Can anybody help?
>
> Andrew
>
> --
> Andrew McFarland
> UNITE Solutions
> http://www.unite.net/
>

$ lwp-request -de http://www.unite.net/
Connection: close
Date: Fri, 03 Aug 2001 09:54:32 GMT
Accept-Ranges: bytes
Server: Apache/1.3.11 (Unix)
Content-Length: 645
Content-Type: text/html
ETag: "1729-285-39b38ba7"
Last-Modified: Mon, 04 Sep 2000 11:46:47 GMT
Client-Date: Fri, 03 Aug 2001 09:55:32 GMT
Client-Peer: 212.3.160.3:80


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the Belfast-pm mailing list