http://qs321.pair.com?node_id=146365


in reply to Re: Re: Checking "incomplete" URLs
in thread Checking "incomplete" URLs

You could upgrade to latest libwww and just use method requests_redirectable from LWP::UserAgent
$ua->requests_redirectable( ); # to read $ua->requests_redirectable( \@requests ); # to set This reads or sets the object's list of request names that "$ua->redirect_ok(...)" will allow redirection for. By default, this is "['GET', 'HEAD']", as per RFC 2068. To change to include 'POST', consider: push @{ $ua->requests_redirectable }, 'POST';

--
Ilya Martynov (http://martynov.org/)