Re: LWP::UserAgent fails on Windows to connect to https
Michael Herger <slim-b/[email protected]>
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Message-ID | <[email protected]> |
> BTW, the reason I'm using LWP::UserAgent and not > Slim::Networking::SimpleAsyncHTTP is that I need to get the 'Location' > header of a 302 redirect. SimpleAsyncHTTP always follows redirects and > doesn't seem to have an option to display redirects and get the data for > the 302 redirect itself. Ugh... the code indeed does a "$maxRedirect || 7". Which means that as Perl considers 0 a falsy value, it would be set to 7 instead. Would using -1 work?