Yeah, that should do it.  Though as I think about it, the reason I added the ```headers_sent()``` check in the first place was to prevent all sorts of nasty messages about the headers already being sent when ```set_status_header()``` is called.  PHP treats headers as already sent on start if using the CLI SAPI, so this can quickly get ugly there.

However, might there be cases where we *want* the nasty messages from PHP in other SAPIs, when ```set_status_header()``` is called at the wrong point in the application code?