On Mon, 7 May 2001, McCormick, Rob E wrote:

> 501 Protocol scheme 'hostfirewall.acme.com' is not supported
> <URL:http://foo.acme.com/>
> # names changed to protect the innocent
>
> Why does that happen?  Is it picking up our firewall from an ENV variable
> that's part of the shell?
> Do I need to tell perl to ignore the firewall, somehow?
>
> What I'd like to accomplish (perhaps with a one-liner ) is check the message
> headers returned from an internal web server is LWP::UserAgent a better tool
> for that?

Yes, and also look at HTTP::Request and HTTP::Response.

Recipe 20.1 of the Perl Cookbook gives a good example of how to do this.

-- Brett

Reply via email to