in reply to Re: redirection using LWP::UserAgent
in thread redirection using LWP::UserAgent

Thanks for your reply.
EZPROXY is a proxy server that web transactions go through. It works by puting this prefix before a web transaction:
http://10.1.235.60:8181/login?user=admin&pass=123456&url=http://www.something.com
When I try to retrieve a web page through this proxy using the LWP::UserAgent, I get a page that wants my username and password (which I have put in the prefix).
However, when I use manual redirection instead of the UserAgent redirection, I manage to retrieve the page.
Manual redirection is a long and ugly process, which I would like to do without. Any Ideas?
Thanks again
Guy Naamati

Replies are listed 'Best First'.
Re^3: redirection using LWP::UserAgent
by perrin (Chancellor) on May 01, 2006 at 17:45 UTC
    It sounds like a bug in EZPROXY, not handling cookies or redirects correctly. I'd suggest trying a different proxy, or else analyzing the difference in the sent and returned headers when using the proxy vs. not using it to find what EZPROXY is leaving out.
      Thanks.
      I'll try doing that.