protected function ensureHttpHeaderSent() { if (!$this->_httpHeaderSent) { $this->sendHttpHeader(); } }