Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: LWP::Simple and redirects

by shotgunefx (Parson)
on Feb 26, 2002 at 09:46 UTC ( #147515=note: print w/replies, xml ) Need Help??


in reply to LWP::Simple and redirects

LWP::Simple does indeed do redirects. (Not javascript redirects though!)

use LWP::Debug qw(+conns); # This will tell you what's going on.

One bug that has come up in LWP::Simple is on some machines, it just mysteriously fails. Try prepending a space to the url.
get " http://yahoo.com;"
Stops it from using _trivial_get internally which is the source of the bug.

-Lee

"To be civilized is to deny one's nature."

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2023-03-28 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (67 votes). Check out past polls.

    Notices?