mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
39952f4a5c
These APIs are primarily intended to let developers write custom 404 handlers. They can define an onBeforeHTTPError404() method on an Extension that gets added to Controller or RequestHandler. The SS_HTTPResponse_Exception object has also been tidied up to override the status info of any SS_HTTPResponse object that might get passed. This is mainly to make it easier for callers (such as ContentController and ModelAsController) to use RequestHandler::httpError() more consistently. |
||
---|---|---|
.. | ||
files | ||
ControllerTest.php | ||
ControllerTest.yml | ||
DirectorTest.php | ||
HTTPRequestTest.php | ||
HTTPResponseTest.php | ||
HTTPTest.php | ||
NullHTTPRequestTest.php | ||
PjaxResponseNegotiatorTest.php | ||
RequestHandlingTest.php | ||
SessionTest.php |