On Tuesday, June 17, 2003, at 07:22  PM, Geoffrey Young wrote:

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 http://httpd.apache.org/test/


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;

Yes, thanks. I'll likely get a patch in before long.

Regards,

David

--
David Wheeler                                     AIM: dwTheory
[EMAIL PROTECTED]                              ICQ: 15726394
http://kineticode.com/                         Yahoo!: dew7e
                                               Jabber: [EMAIL PROTECTED]
Kineticode. Setting knowledge in motion.[sm]



Reply via email to