in reply to LWP::UserAgent : setting max_redirect to 0 yields 'Client-Warning: Redirect loop detected
Hi,
There seems to be a bit of confusion, but that's not your fault. The documentation is probably a bit lacking in this area.
my $ua = LWP::UserAgent->new(requests_redirectable => []);
There shouldn't be a need to worry about setting how many redirects to allow if you're already not allowing redirects on those types of requests.
Can you give that a try and maybe take a crack at helping fix the documentation lack in this area so nobody else falls into the same problem? We're always happy to have documentation patches!
-- Chase
In Section
Seekers of Perl Wisdom