YUKI Hiroshi
null+****@clear*****
Thu Dec 26 15:58:09 JST 2013
YUKI Hiroshi 2013-12-26 15:58:09 +0900 (Thu, 26 Dec 2013) New Revision: e03fdf8b344712dc999d9af1412f617dd04e59ca https://github.com/droonga/droonga.org/commit/e03fdf8b344712dc999d9af1412f617dd04e59ca Message: Return unknown command error as 400, because 501 is for unsupported HTTP methods. Modified files: reference/message/index.md Modified: reference/message/index.md (+4 -4) =================================================================== --- reference/message/index.md 2013-12-26 15:14:35 +0900 (c1da7c5) +++ reference/message/index.md 2013-12-26 15:58:09 +0900 (009415c) @@ -141,12 +141,12 @@ Status codes of error responses are similar to HTTP's one. Possible values: `404` `UnknownDataset` : Means you've specified a dataset which is not existing. + + `400` `UnknownCommand` + : Means there is no adapter or handler for the command given as the `type`. `500` and other `5xx` statuses -: An internal error of the Droonga Engine. General errors for any message type are: - - `501` `UnknownType` - : Means there is no adapter or handler for the `type`. +: An internal error of the Droonga Engine. ### Body of error responses {#error-body} -------------- next part -------------- HTML����������������������������...Download