httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <>
Subject Re: GET() w/o redirection
Date Tue, 17 Jun 2003 23:22:19 GMT

> I finally figured out that this works:
>   $Apache::TestRequest::RedirectOK = 0;
> Again, more docs would be welcome.

well, it's not more docs, but whenever I'm in search of some bit of 
functionality I check the tests in the perl-framework/t/modules directory, 
which you'll find if you checkout the httpd-test project or view the CVS as 
linked to from

your solution, for instance, is used in alias.t:

     ## make LWP not follow the redirect since we
     ## are just interested in the return code.
     local $Apache::TestRequest::RedirectOK = 0;



View raw message