public function flushContent($continueBuffering = true) { Prado::trace("Flushing output", 'Prado\\Web\\THttpResponse'); $this->ensureHeadersSent(); if ($this->_bufferOutput) { // avoid forced send of http headers (ob_flush() does that) if there's no output yet if (ob_get_length() > 0) { if (!$continueBuffering) { $this->_bufferOutput = false; ob_end_flush(); } else { ob_flush(); } flush(); } } else { flush(); } }