[Http-webtest-commits] CVS: HTTP-WebTest/lib/HTTP/WebTest API.pm,1.4,1.5
Brought to you by:
m_ilya,
richardanderson
From: Ilya M. <m_...@us...> - 2002-02-15 10:38:51
|
Update of /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest In directory usw-pr-cvs1:/tmp/cvs-serv10311/lib/HTTP/WebTest Modified Files: API.pm Log Message: Allow redirects after POST Index: API.pm =================================================================== RCS file: /cvsroot/http-webtest/HTTP-WebTest/lib/HTTP/WebTest/API.pm,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** API.pm 2 Feb 2002 04:08:19 -0000 1.4 --- API.pm 15 Feb 2002 10:38:33 -0000 1.5 *************** *** 346,349 **** --- 346,352 ---- $user_agent->cookie_jar(new HTTP::WebTest::Cookies); + # allow redirects after POST + push @{ $user_agent->requests_redirectable }, 'POST'; + return $user_agent; } |