> On Mon, 29 Oct 2007, Jonathan Swartz wrote:
>
>> It's odd to me that we would use $r->notes, given that the only code
>> that uses this is ApacheHandler.pm. Why wouldn't we get/set a flag in
>> the ApacheHandler object instead? Then we could provide a
>>
>>     $m->http_header_sent();
>>
>> for people to call when they've called $r->send_http_header  
>> themselves.
>
> Well, this is pretty much the same thing. Either way, the end user  
> would
> have to manually set something after sending the headers, which  
> kind of
> stinks API-wise.

You're right, it isn't that much better. It's just a slightly nicer  
API, and isolates the hackiness to our object.

But it's mp1's fault for not providing a way to determine when the  
header has been sent, so I don't feel that bad about it. :)



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to