httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: Fix: Apache::TestRequest::redirect_ok
Date Wed, 20 Oct 2004 01:38:11 GMT
David Wheeler wrote:
> On Oct 19, 2004, at 6:26 PM, Stas Bekman wrote:
> 
>> that looks better than goto :)
> 
> 
> Yeah...
> 
>>> But this means that POST redirects will work if LWP is installed and 
>>> won't if it is not. If it's true that, without LWP, TestRequest 
>>> *cannot* handle redirect on POST requests, then this is how it should 
>>> be.
>>
>>
>> I believe that it can't. I think TestRequest doesn't try to provide a 
>> replacement for lwp. It's a very basic client which should be used 
>> only for very basic tests. One should add need_lwp in the plan() call 
>> for more complicated cases.
> 
> 
> Some tests will confirm. If it can't, I'll update the documentation to 
> this effect and commit the simple patch.

Thanks for handling that, David.

But please wait before mp2/Apache-Test are released tomorrow, since were 
are in the code freeze section as both have RC posted, and in theory no 
code should be committed (docs are OK).


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

Mime
View raw message