Details
-
Improvement
-
Resolution: Fixed
-
Major
-
2.0 M1
-
None
-
Trivial
-
Description
Several error messages come with the default 200 HTTP status code, indicating success, although the request did not complete normally. Besides adding more semantics, this is also more friendly with services and AJAX calls.
- access denied -> 403 Forbidden
- document locked -> 423 Locked
- invalid action on non-existing document -> 404 Not Found
- invalid action on wrong document -> 400 Bad Request
- invalid target for copy and rename -> 409 Conflict
- template does not exist -> 400 Bad Request
Attachments
Issue Links
- is related to
-
XWIKI-4695 [regression] Private RSS feeds with Basic authentication does not work in some RSS clients
- Closed