Hi
I'm trying to get the useragent to follow redirects. I have
the following snippet of code:
$cookies = new HTTP::Cookies( ignore_discard => 1);
$ua = LWP::UserAgent->new();
@fieldValueArray = ('this', 'that', 'andthe', 'other');
my $req = POST "http://127.0.0.1/mycgi", \@fieldValueArray;
unfortunately it doesnt follow the redirect unless its a
get request (as an aside, why on earth have that behaviour ?). How can i overide the $ua->redirect_ok
method so that it returns TRUE instead of FALSE ?
Thanks very much,
Specimen
Edit: 2001-03-03 by neshura