Viewing HTTP headers
Stray Toaster
mwk at stray-toaster.co.uk
Fri Aug 3 04:43:30 CDT 2001
On Fri, Aug 03, 2001 at 10:36:18AM +0100, Andrew McFarland wrote:
> 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
Hi Andrew,
LWP::UserAgent is your friend. Or maybe LWP::Simple, but I don't think that
that gives header info. Tho it is good for one-liners.
m.
More information about the Belfast-pm
mailing list