Ajit Deshpande wrote:
> On Fri, Aug 04, 2000 at 04:22:29PM -0600, Nathan Torkington wrote:
> > Thanks for the speedy response.  You've now emboldened me to ask my
> > second question: sometimes I see people not calling send_http_header()
> > and yet their HTML still comes through.  Does mod_perl sometimes
> > automatically call this for you?
> 
> Yep, its a configurable option.
> 
> http://perl.apache.org/guide/config.html:
> 
>    PerlSendHeader On

Sometimes I've seen people be really careful and use sent_header() to
test if the headers have already been sent. But that only works with
PerlSendHeader turned on...

Sorry to be a pain, but I still haven't heard anything back about my
proposal:

Ken Fox wrote:
> I was using $request->sent_header and found out that it's
> not terribly useful if PerlSendHeader is off -- sent_header
> always returns 1. I changed mod_perl_sent_header so that
> it returns 0, 1 or 2:
> 
>   0 - headers have not been sent (PerlSendHeader on)
>   1 - headers have not been sent (PerlSendHeader off)
>   2 - headers have already been sent

Is this the right list for change proposals? Should I re-submit my
patch?

- Ken

Reply via email to