weblegs/php-framework — Issue #2: Set HTTP Status 500 when catching/handling errors.
Author: rakhavan
Created: 2012-01-04 08:03:41+00:00
State: open

We need to set output headers in System::webErrorHandler, System::webExceptionHandler and System::webShutdownHandler.

Also re: System::webShutdownHandler... In a live project I'm testing a simple text email for an all else fails effort to send the error in.

We may also need to review the Weblegs::Response::addHeader method so if the value is not provided we don't add the " : " to the header method.