It seems noone mentioned the solution.
Give the UA a cookie jar if you want it to remember cookies.
Tell it it's "ok" to redirect POST requests if you need it to redirect POST requests (although it's not really ok).
In reply to Re^9: A case where Mechanize works, LWP doesn't
by ikegami
in thread A case where Mechanize works, LWP doesn't
by dneedles
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |