I see some programmers don't check header_only(). Are there
bad things in store if you don't? Or will Apache or the browser
simply ignore the body that gets created?
Nat
> "NT" == Nathan Torkington <[EMAIL PROTECTED]> writes:
NT> I see some programmers don't check header_only(). Are there
NT> bad things in store if you don't? Or will Apache or the browser
NT> simply ignore the body that gets created?
My experience is apache just tosses the body for you. T
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?
Nat
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
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 s
Ken Fox said:
> 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
On Fri, 4 Aug 2000, 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 (PerlSe
> 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)
> >
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
Ken Williams wrote:
> I know it was ages ago when you sent this patch, but what's the
> rationale for having $r->sent_header() return 1 when it hasn't sent the
> header?
I didn't want to break anything. I'm hoping that people using sent_header
are just checking for true, not for 1. (That's the wa
On Fri, 4 Aug 2000, Vivek Khera wrote:
> > "NT" == Nathan Torkington <[EMAIL PROTECTED]> writes:
>
> NT> I see some programmers don't check header_only(). Are there
> NT> bad things in store if you don't? Or will Apache or the browser
> NT> simply ignore the body that gets created?
>
> My
11 matches
Mail list logo