Subject: | follow Location header if status == 302 |
I'm hitting a web server (Tomcat4/Jboss) which sometimes sends back a "Page moved temporarily" (302) page and the new location in the Location header field. It would be cool if this case would result in automatically running a $agent->get($agent->res->header('Location')).