On Tue, 16 Apr 2002 18:41:45 -0700
Vicki Brown <[EMAIL PROTECTED]> wrote:

: My documentation says that if this error is in response to a GET the client
: should try on the new URI (and LWP seems to do that for me when I am issuing
: a GET, as I have hit GET redirects several times now on this project).  But
: what do I do about redirecting a POST?

You have to say following POST redirections is OK with you:

   push @{ $ua->requests_redirectable }, 'POST'; 

(from perldoc LWP::UserAgent). This is so, I guess, becacuse the RFC
says POST redirections must not be followed by user agents unless the
user says so explicitly.

-- fxn

Reply via email to