http://www.perlmonks.org?node_id=1210629


in reply to GET request using LWP::UserAgent returns 200 OK but Firefox 302 Found

The whole exercice consists of: POST, GET, GET.

Are you sure?

Can it be, that you're actually doing a

GET, POST, GET, GET

in Firefox( e.g. visit the side with GET and then POST some form data)
while you're doing a

POST, GET, GET

in LWP?

If this is the case you are probably lacking some cookies in your LWP-version which makes it behave differently.