]> git.mxchange.org Git - friendica.git/commit
Fix exception module not setting the HTTP response code
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 10 Jul 2023 02:44:40 +0000 (22:44 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 10 Jul 2023 02:45:46 +0000 (22:45 -0400)
commit3748adf2fda4f547da278400c44d4a9771023e94
treefb9ff5ba99140908e9bff3cded2a3e928a655950
parenta39029f953461299a875eb9e1301c7a7f6b7f429
Fix exception module not setting the HTTP response code

- Page->run now returns an updated response for use with Page->exit
- Remove now duplicated header setting in Page->run
- Remove now obsolete (and ineffective) HTTP return code setting from Module\Special\HTTPException->content
- Add HTTP response code and reason setting in BaseModule->run
src/App.php
src/App/Page.php
src/BaseModule.php
src/Module/Special/HTTPException.php