Re: More CGIHandler problems
David Wheeler <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mar 5, 2004, at 12:02 PM, Dave Rolsky wrote: > So here's what I'm proposing: > > - Modify CGIHandler to handle abort exceptions specially. If > $m->abort() > or $m->abort(200) are called, we will send send headers if they > haven't > yet been sent. > > - Don't handle decline or TopLevelNotFound specially. This will make > for > nasty ugly errors, but there's not much to be done about this with > the > current architecture. > > - All other exceptions just get rethrown. > > - CGIHandler does not, and will not (in stable) return the value of > Request->exec to the caller of any of it's handle_* methods. This > differs from ApacheHandler, which returns this value to the caller of > handle_request(). These all sound fine except perhaps for the last. In versions of Mason prior to 1.25, _handler() (and therefore handle_request()) did return a value. Regards, David ------------------------------------------------------- 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