MantisBT: next 8b9e3687

Author Committer Branch Timestamp Parent
dhx dhx next 2011-07-16 16:49 next 563d990f
Changeset

Implement HTTP response codes for exceptions

Exceptions should return HTTP response codes indicating an error, rather
than a successful request. 4xx errors can be used for errors with data
that the user has submitted. 5xx errors for unexpected server errors.

The error page generator still needs to implement response codes.

mod - application/MantisBT/Exception/Access/AccessDenied.php Diff File
mod - application/MantisBT/Exception/ExceptionAbstract.php Diff File
mod - application/MantisBT/Exception/Field/EmptyField.php Diff File