Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Using LWP::Simple to read a redirected page

by Anonymous Monk
on Nov 13, 2012 at 22:34 UTC ( #1003717=note: print w/ replies, xml ) Need Help??

in reply to Using LWP::Simple to read a redirected page


OK, long story short...I think the url should have http in front of it and LWP just works with what it's got and doesn't complain.

I tried again using WWW::Mechanize and it demanded an absolute url. I put in http - it then said it couldn't deal with https, and instructed me to install LWP-Protocol-https.

I went back to LWP and fed it the absolute url, and it resolved properly giving me the forwarded url as it ought. Out of interest I removed LWP-Protocol-https and that didn't seem to bother it.

Thanks for the help


Comment on Re: Using LWP::Simple to read a redirected page

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003717]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2016-05-04 22:21 GMT
Find Nodes?
    Voting Booth?