Re: More CGIHandler problems
"Jonathan Swartz" <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
Will it work to set the special "Status:" CGI header? http://www.oreilly.com/openbook/cgi/ch03_07.html > > > - 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 > _______________________________________________ > Mason-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mason-devel > ------------------------------------------------------- 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