httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wheeler <>
Subject Re: Fix: Apache::TestRequest::redirect_ok
Date Wed, 20 Oct 2004 01:31:08 GMT
On Oct 19, 2004, at 6:26 PM, Stas Bekman wrote:

> that looks better than goto :)


>> 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.



David Wheeler
President, Kineticode, Inc.
Kineticode. Setting knowledge in motion.[sm]

View raw message