Read this book:
http://www.amazon.com/exec/obidos/ASIN/0596001789/thestarwarscol06
When you get a 302 response, there is a header that tells you where you're
supposed to go.
my $sURLnew = URI->new_abs($res->header('location'), $sURLold);
The reason LWP doesn't do this for you automatically is:
the official standard says that browsers are NOT supposed to redirect from a
POST to a GET without asking the user first.
--
- - Martin 'Kingpin' Thurn
> -----Original Message-----
> From: D.Monroe [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 15, 2003 12:27 PM
> To: Randall Perry
> Cc: Dave Mitchell; [EMAIL PROTECTED]
> Subject: Re: Problems posting file upload
>
>
> Randall Perry wrote:
>
> > Thanks for the quick response (thought it was an I'm on
> vacation message :)
> >
> > When submitting directly to the form action URL I got this output:
> >
> > http://www.tasbill.com/cgi-bin/upload.cgi error: 302 Moved at
> > post_file_upload.pl line 20.