Peter Smythe created an issue |
REST API returns inconsistent status codes for already existing resources |
Issue Type: |
Bug |
---|---|
Assignee: |
Unassigned |
Components: |
REST |
Created: |
22/Jun/23 3:05 PM |
Priority: |
Medium |
Reporter: |
POST http://localhost:8080/geoserver/rest/security/roles/role/this_role returns 201 Created, if this_role does not exist, as expected. Repeat the same POST, now the response is 404 (Not Found??), whereas other API endpoints mostly return 409 Conflict, if this_role already exists. |
Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS |
|
This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100227-sha1:6a5b8c4) |