Project

General

Profile

Actions

Task #85812

closed

Epic #84726: Initiative: URL Routing Integration / Site Handling

Epic #84727: Site Handling - Part 2 / Missing Pieces

Task #85166: Add tests for a frontend rendering based on sites

Throw PSR-7 Responses up to Application

Added by Oliver Hader over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2018-08-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

In order to properly handle PSR-7 response objects explicit die() or exit() calls should be avoided since those states cannot be handled nor analyzed further. As a current work-around a new ImmediateResponseException is introduced that throws the exception up to application object that transforms the emitted message into a proper response object. This API is internal and considered as intermediate - the real solution would be to completely refactor TypoScriptFrontendController processing and only use request/response consequently.

Actions

Also available in: Atom PDF