异君 张 ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=605afea60a9b690071a282c8 ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMWJkM2E3MWYzNDNhNDU2MTljN2NjYjQ4MjdmMzFhZDQiLCJwIjoiaiJ9 ) / Improvement ( https://osgeo-org.atlassian.net/browse/GEOS-10007?atlOrigin=eyJpIjoiMWJkM2E3MWYzNDNhNDU2MTljN2NjYjQ4MjdmMzFhZDQiLCJwIjoiaiJ9 ) GEOS-10007 ( https://osgeo-org.atlassian.net/browse/GEOS-10007?atlOrigin=eyJpIjoiMWJkM2E3MWYzNDNhNDU2MTljN2NjYjQ4MjdmMzFhZDQiLCJwIjoiaiJ9 ) Update REST response http status code when adding an already exist workspace ( https://osgeo-org.atlassian.net/browse/GEOS-10007?atlOrigin=eyJpIjoiMWJkM2E3MWYzNDNhNDU2MTljN2NjYjQ4MjdmMzFhZDQiLCJwIjoiaiJ9 ) Issue Type: Improvement Assignee: Unassigned Components: REST Created: 07/Apr/21 4:30 AM Priority: Low Reporter: 异君 张 ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=605afea60a9b690071a282c8 ) It's confusing that trying add an exist workspace through REST ( https://github.com/geoserver/geoserver/blob/c78b567e872b4167408683ef3aeb1d599da9e86b/src/restconfig/src/main/java/org/geoserver/rest/catalog/WorkspaceController.java#L116 ) will get 401(UNAUTHORIZED) Whether you take right BASIC AUTH HEADER or not. Http status code 4xx(eg 409) or 5xx better? Here is the work in process GitHub PR ( https://github.com/geoserver/geoserver/pull/4933 ) ( https://osgeo-org.atlassian.net/browse/GEOS-10007#add-comment?atlOrigin=eyJpIjoiMWJkM2E3MWYzNDNhNDU2MTljN2NjYjQ4MjdmMzFhZDQiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-10007#add-comment?atlOrigin=eyJpIjoiMWJkM2E3MWYzNDNhNDU2MTljN2NjYjQ4MjdmMzFhZDQiLCJwIjoiaiJ9 ) Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100156- sha1:d8159f4 )
_______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
