silverstripe-framework/tests/control
Sam Minnee 39952f4a5c API: Added 'onBeforeHTTPError' and 'onBeforeHTTPError<code>' extension points to RequestHandler::httpError().
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.
2012-09-27 12:26:25 +12:00
..
files API CHANGE: Do not rely on a specific OS mime type detection, use PHP finfo 2012-05-11 11:34:07 +12:00
ControllerTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
ControllerTest.yml API CHANGE Rearranged files in sapphire to reflect core dependencies more accurately, and have the tests/ folder mirror its folder structure 2011-03-31 09:56:21 +13:00
DirectorTest.php Merge branch '3.0' 2012-09-21 14:56:56 +12:00
HTTPRequestTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
HTTPResponseTest.php API: Added 'onBeforeHTTPError' and 'onBeforeHTTPError<code>' extension points to RequestHandler::httpError(). 2012-09-27 12:26:25 +12:00
HTTPTest.php MINOR Disabling offending MIME type test case on multiple operating systems. See 2012-05-12 10:21:23 +12:00
NullHTTPRequestTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
PjaxResponseNegotiatorTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
RequestHandlingTest.php API: Added 'onBeforeHTTPError' and 'onBeforeHTTPError<code>' extension points to RequestHandler::httpError(). 2012-09-27 12:26:25 +12:00
SessionTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00