Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

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


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

Hi

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

MorayJ

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-24 07:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found