MantisBT: next 73a9fc83

Author Committer Branch Timestamp Parent
dhx dhx next 2011-07-16 16:49 next ad3f5440
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