Re: More CGIHandler problems
Dave Rolsky <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 5 Mar 2004, Dave Rolsky wrote: > - 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. Looking at this more closely, I realize that it doesn't really matter what the user passes to abort, since we're not able to change Apache's response based on this value. I still want to send the headers if the user aborts with no arg or with 200, just for compatibility with ApacheHandler, but it should be documented that calling $m->abort(500) under CGIHandler does _not_ generate an internal server error! -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