[TYPO3-core] RFC #12189: Add API functions for cleaning and flushing output buffers

Martin Kutschker masi-no at spam-typo3.org
Thu Oct 22 11:29:51 CEST 2009


Rupert Germann schrieb:
> Hi,
> 
> this is a SVN patch request.
> 
> Type: last minute API improvement
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=12189
> 
> Branches: Trunk
> 
> Problem:
> TYPO3 provides no generic way to clean or flush the php output
> buffering. A single ob_end_clean() might fail if there are nested output
> buffers.
> 
> 
> Solution:
> introduce 2 new functions:
> t3lib_div::cleanOutputBuffers() and
> t3lib_div::flushOutputBuffers()

+1 for the idea. Please enlighten me why the content-encoding header is set to "none" in both functions?

Masi


More information about the TYPO3-team-core mailing list