Hi,
LWP::Useragent doesn't automatically follow a redirect as an answer to a POST. So you need to change the default setting.
Change the default setting applies to LWP::Useragent, your script, NOT the server. LWP::Useragent is your browser. So a 302 reply from the server makes your browser point to the new destination. Without the change in default setting LWP:Useragent wouldn't reflect this change.
In reply to Re: Redirection in LWP with POST
by gargle
in thread Redirection in LWP with POST
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |