[Geoserver-devel] [jira] Created: (GEOS-4694) Wrong HTTP status code when trying to create an already present workspace

Wrong HTTP status code when trying to create an already present workspace
-------------------------------------------------------------------------

                 Key: GEOS-4694
                 URL: https://jira.codehaus.org/browse/GEOS-4694
             Project: GeoServer
          Issue Type: Improvement
          Components: REST
    Affects Versions: 2.1.1
            Reporter: Simone Tripodi
            Assignee: Andrea Aime

When creating a workspace, if the workspace is already present, REST API replies with 500 Internal Server Error - switching to 409 Conflict would help clients discriminating situations when the server is really broken to when the resource has been already created

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira