Re: ignore header_only()?

2000-08-05 Thread Ken Fox
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

Re: ignore header_only()?

2000-08-04 Thread Ken Fox
eaders 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 i

Re: [Fwd: mod_perl_sent_header improvement]

2000-08-01 Thread Ken Fox
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 (PerlSend

[Fwd: mod_perl_sent_header improvement]

2000-07-27 Thread Ken Fox
Here's a patch that I sent to Doug. Not sure if I would accept something from a guy who *clearly* can't read a simple INSTALL file... ;) Here's hoping anyway. - Ken I was using $request->sent_header and found out that it's not terribly useful if PerlSendHeader is off -- sent_header always retur