‪TYPO3CMS  9.5
TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader:

Public Member Functions

ResponseInterface process (ServerRequestInterface $request, RequestHandlerInterface $handler)
 

Detailed Description

Send content-length header. Notice that all HTML content outside the length of the content-length header will be cut off! Therefore content of unknown length from included PHP-scripts and if admin users are logged in (admin panel might show...) or if debug mode is turned on, we disable it!

Definition at line 33 of file ContentLengthResponseHeader.php.

Member Function Documentation

◆ process()

ResponseInterface TYPO3\CMS\Frontend\Middleware\ContentLengthResponseHeader::process ( ServerRequestInterface  $request,
RequestHandlerInterface  $handler 
)

Adds the content length

Parameters
ServerRequestInterface$request
RequestHandlerInterface$handler
Returns
‪ResponseInterface

Definition at line 43 of file ContentLengthResponseHeader.php.

References $GLOBALS.