[Geoserver-devel] [jira] Created: (GEOS-4255) Have GeoServer return proper HTTP error codes along with service exceptions

Have GeoServer return proper HTTP error codes along with service exceptions
---------------------------------------------------------------------------

                 Key: GEOS-4255
                 URL: http://jira.codehaus.org/browse/GEOS-4255
             Project: GeoServer
          Issue Type: Improvement
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.1-RC1

Currently all service exceptions return with HTTP 200, whilst some variant of 400 or 500 should be used instead.

OWS 1.0 was not clear on whether to use error codes or not, so we're going to enable http error codes only if the administrator enables them for backwards compatibility.

OWS 1.1 mandates the usage of error codes in its abstract test suite, though it's not clear what codes should be used.
OWS 2 mandates error codes and also specifies which ones should be used based on the OWS error code: we are going to use this classification as a reference.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira