Re: More CGIHandler problems

David Wheeler <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
Finally getting back to this today. Sorry for the delay...

On Mar 9, 2004, at 8:36 PM, Dave Rolsky wrote:

> I think you must've checked out HEAD.  You want the mason-1-2-branch 
> code.

Oh, right you are. I forgot that there was a separate branch for 1.2x. 
Trying now...

Well, the MasonX::Interp::WithCallback CGI tests still don't pass. If 
you look at t/09cgi.t, you'll see that the last few tests execute 
redirects. These worked in Mason 1.24 because it properly caught an 
abort exception and called CGI->redirect, thus setting the proper 
headers. However, they're not longer getting set. In fact, it's no 
longer setting headers that I've set up in the callback by calling 
$r->header_out.

So that's the problem as I see it. No headers are being sent, and they 
should be sent, IMO.

Now, looking at CGIHandler.pm, it looks like your custom output method 
should send them. Any idea why it doesn't?

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