[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Re: 200 OK ... or not



Michael Petnuch wrote:
> Joel:
> 
>     I guess I am no longer the only one experiening this problem.  See
> this thread
> (http://www.mail-archive.com/suppressed/msg05428.html). 
> As for a solution, I edited the Dispatch module (around line 608) to
> look like this:
> 
> unless($r->status == 200) {
>     return $r->status;
> } else {
>     return OK();
> }

Thank you Michael and Joel for bringing this up again (sometimes I need
reminding). I'm working on a permanent fix since the above will not work with
mod_perl 2 and only works with mod_perl 1 because so many people were returning
HTTP status codes instead of mod_perl constants that they tried to compensate.

After I come up with an acceptable fix, I might hit both of you up for testing
to make sure it does what you need it to do. After that, it'll be on CPAN.

Thanks again.

-- 
Michael Peters
Developer
Plus Three, LP


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.