Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: LWP::UserAgent : setting max_redirect to 0 yields 'Client-Warning: Redirect loop detected

by bliako (Monsignor)
on Mar 13, 2018 at 21:12 UTC ( [id://1210847]=note: print w/replies, xml ) Need Help??


in reply to Re: LWP::UserAgent : setting max_redirect to 0 yields 'Client-Warning: Redirect loop detected
in thread LWP::UserAgent : setting max_redirect to 0 yields 'Client-Warning: Redirect loop detected

Thanks for your reply,

I did both at the same time: set requests_redirectable to an empty array AND max_redirect to zero. (see the code in my first post). But I also report in another comment here how your suggestion works. And I agree with you that this is probably a bug. That '>=' should be '>' really.

  • Comment on Re^2: LWP::UserAgent : setting max_redirect to 0 yields 'Client-Warning: Redirect loop detected

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-19 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found