RESTful Error reporting in mapping services
-------------------------------------------
Key: GEOS-1670
URL: http://jira.codehaus.org/browse/GEOS-1670
Project: GeoServer
Issue Type: Improvement
Components: Error Reporting
Reporter: David Winslow
Assignee: Chris Holmes
In all web mapping services, a permission denied error is reported in a strange way:
* for non-authenticated users, a 200 OK is sent, after a redirect to the login page (which many clients will hide anyway).
* for authenticated users with insufficient permissions for a particualr action, a 404 is sent (since the access denied page apparently has not been written)
These should probably be replaced with client-programmer-friendly messages. Either an HTTP 401 for unauthenticated users and a 403 for authenticated users with insufficient permissions, or some OWS-encoded messages detailing the error; maybe both?
--
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