Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Redirection with LWPUserAgent

by ikegami (Patriarch)
on Dec 18, 2011 at 11:09 UTC ( [id://944181]=note: print w/replies, xml ) Need Help??


in reply to Redirection with LWPUserAgent

Your question makes no sense. LWP::UserAgent is an HTTP client, it doesn't talk to other HTTP clients, and it does follow redirections.

Replies are listed 'Best First'.
Re^2: Redirection with LWPUserAgent
by kazak (Beadle) on Dec 18, 2011 at 12:19 UTC

    Sorry, I'm newbie in Perl.

    So I think I should explain following: There is a perl module HTTP::Proxy, according to its author it uses LWPUserAgent among others, so may be I'm really said nonsense, my apologize for this. But question remains: Is this possible using LWP/HTTP::Proxy/or something else?

    Thanks in advance.

      kazak:

      It looks like HTTP::Proxy will be able to help you with that.

      ...roboticus

      When your only tool is a hammer, all problems look like your thumb.

      Is this possible using LWP/HTTP::Proxy/or something else?

      Is it possible to do what? Have your client obey redirects? It should be, but I guess that depends on your client, and you haven't specified what it is.

      What part of the prior answer is so hard to understand? Would "NO! be clearer?

      If you have some reason to regard that answer as less than definitive, please explain some more.

Log In?
Username:
Password:

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

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

    No recent polls found