Boris Zentner wrote:

Hi,

please include this fix in the next release of Apache::Test.

Thanks Boris. And what's the error it is trying to fix? have_lwp is imported into the code, I can't see why there should be a problem.


--- a/Apache-Test-1.14/lib/Apache/TestRequest.pm Thu Sep 30 05:32:13 2004
+++ b/Apache-Test-1.14/lib/Apache/TestRequest.pm Mon Oct 18 13:56:08 2004
@@ -758,7 +758,7 @@
if there is only one value and that value is not "POST":


   # Always allow redirection.
-  my $redir = have_lwp ? [qw(GET HEAD POST)] : 1;
+  my $redir = have_lwp() ? [qw(GET HEAD POST)] : 1;
   Apache::TestRequest::user_agent(reset => 1,
                                   requests_redirectable => $redir);


--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to