You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Paul J. Lucas" <pj...@best.com> on 2000/11/01 23:59:39 UTC

status_line() empty

	OK, so, from within a custom ErrorDocument handler, $r->status()
	is the status code as I expect; however, $r->status_line() is
	blank.  Any ideas why?

	- Paul


Re: status_line() empty

Posted by "Paul J. Lucas" <pj...@best.com>.
On Wed, 1 Nov 2000, Paul J. Lucas wrote:

> 	OK, so, from within a custom ErrorDocument handler, $r->status()
> 	is the status code as I expect; however, $r->status_line() is
> 	blank.  Any ideas why?

	It turns out that status_line() isn't populated until after
	send_http_header() is called.

	- Paul