Re: Headers Sent Twice

"Jonathan Swartz" <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
> > 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().
>

Ok, I guess it's fine then, this just brings the behavior in line with other
places that catch exceptions.

Jon



-------------------------------------------------------
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
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.