Re: Headers Sent Twice
David Wheeler <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
On May 2, 2004, at 7:18 AM, Jonathan Swartz wrote: > We should use http_header_sent($r). Otherwise, it seems reasonable... Okay. > Why are we checking for an abort or decline exception? Is it possible > to > call abort or decline during make_request? David, remind me why this is > necessary... :) MasonX::Interp::WithCallbacks overrides make_request(), and executes all of the callbacks during that method call. The callbacks can decide to abort or redirect a request at that time, so it's necessary to check for such exceptions after make_request(). Regards, David ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click