Re: More CGIHandler problems

Dave Rolsky <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
On Tue, 9 Mar 2004, Dave Rolsky wrote:

> On Tue, 9 Mar 2004, Jonathan Swartz wrote:
>
> > Will it work to set the special "Status:" CGI header?
> >
> > http://www.oreilly.com/openbook/cgi/ch03_07.html
>
> Ah, interesting, that might do the trick.  I'll test this out.

I take it back, I won't.

Making CGIHandler work like ApacheHandler is just too much code rewriting
at this point, and would involve lots of API changes.  For example,
CGIHandler does not divide request handling into making a mason request
and executing it like AH does.  Instead, it simply calls
$self->interp->exec which does this all at once.

For 1.40 I definitely want to fix this.  But for now I'd rather just
release 1.26 with the minimal changes needed to make it rethrow
exceptions.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.