On Sun, 8 Jul 2001, Brooklyn Linux Solutions CEO wrote:

> Is there a way to know that headers have already been sent 
> before send headers out?

you can check for things that should be empty until send_http_header is
called, e.g.

unless ($r->header_in('Content-type')) {
    #header has not been sent
}

unless ($r->status_line) {
    #header has not been sent
}


Reply via email to