Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: How to get real address with LWP and redirects?

by ikegami (Patriarch)
on Sep 11, 2007 at 13:35 UTC ( [id://638297]=note: print w/replies, xml ) Need Help??


in reply to How to get real address with LWP and redirects?

To see the final uri:

my $response = $ua->...; print($response->request()->uri(), "\n");

Or to see all the redirections:

my $response = $ua->...; while ($response) { print($response->request()->uri(), "\n"); $response = $response->previous(); }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-25 12:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found