httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boris Zentner <...@2bz.de>
Subject Re: Minor doc fix for Apache::TestRequest
Date Mon, 18 Oct 2004 12:35:28 GMT

Hi Stas,

Am Montag 18 Oktober 2004 14:29 schrieb Stas Bekman:
> 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.
>

Ops, sorry.

hard to explain in english, here is a example:

perl -we 'sub have_lwp {} my $redir = have_lwp ? [qw(GET HEAD POST)] : 1;'


> > --- 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);

-- 
Boris

Mime
View raw message