I'm using the LWP::UserAgent perl module in order to retrieve web pages. The UserAgent uses redirection when it is needed. The command I write is:
There is also a default value which I think works only for GET. This works nicely most of the time, but recently I have been starting retrieving web pages using EZPROXY, and except for one or two cases, I can't make it work.
When I use manual redirection (very long and quite ugly), I manage to retrieve the web pages nearly all of the time.
Any ideas how to make it work without manual redirection?