Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: LWP and Remote IP

by Zaxo (Archbishop)
on Nov 12, 2005 at 09:02 UTC ( #507949=note: print w/replies, xml ) Need Help??

in reply to LWP and Remote IP

What you get back from GET is a HTTP::Response object. From it you can detect if you got a redirect with the is_redirect() method and the host of the responder with the base() method.

Since HTTP::Response inherits from HTTP::Message, the methods and data of that class are also available. That includes a HTTP::Headers object available through the headers() method.

I have no idea whether "" routing techniques leave traces of that kind, but it's the information that you have available right now. See perldoc of those parent and agglomerate modules for more about the info your responses carry.

After Compline,

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2022-01-27 16:47 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (71 votes). Check out past polls.