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.


Regards,

David

--
David Wheeler
President, Kineticode, Inc.
http://www.kineticode.com/
Kineticode. Setting knowledge in motion.[sm]



Reply via email to