Invalid api-path syntax error changed from 412 operation-failed to 404 invalid-value.
This commit is contained in:
parent
8c18f2a86d
commit
22307e0a9e
7 changed files with 66 additions and 17 deletions
|
|
@ -67,8 +67,8 @@
|
|||
*/
|
||||
static const map_str2int netconf_restconf_map[] = {
|
||||
{"in-use", 409},
|
||||
{"invalid-value", 400},
|
||||
{"invalid-value", 404},
|
||||
{"invalid-value", 400},
|
||||
{"invalid-value", 406},
|
||||
{"too-big", 413}, /* request */
|
||||
{"too-big", 400}, /* response */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue