#86658Exception because of Expire Header from TypoScriptFrontendController::getHttpHeadersForTemporaryContent
Description
In TYPO3 9.5 probably also in 9.4 an Exception is thrown when TypoScriptFrontendController::applyHttpHeadersToResponse has “tempContent”
The "Expire" => 0 part of the return value in TypoScriptFrontendController::getHttpHeadersForTemporaryContent causes, that later in TypoScriptFrontendController::applyHttpHeadersToResponse the call of \TYPO3\CMS\Core\Http\Message::withHeader throws Exception 1436717266 because
the header value is not a string.
Solution would be to return Expire as string
@‘Expire’ => ‘0’@