Review main Merged

55498[TASK] Ensure HTTP RequestHandlers always return a PSR-7 Repsonse

Benjamin Franzke CR +2 V +2 Normal +112 −41 updated 02/01/18, 18:13

Commit message

This is in preparation for PSR-15 middleware support which
will require PSR-7 RespnseInterface return type declarations
for request handlers.

As TSFE powers a concept of outputting nothing [see isOutputting()]
we need to add NullResponse (which implements the PSR-7 ResponseInterface)
which Core/Bootstrap can detect, to stop invoking header() and echo.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 12