[NETCONF-442] Deleting non existing data using PATCH should return 404 Created: 24/Jul/17 Updated: 15/Mar/19 Resolved: 09/Aug/17 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Tomas Olvecky | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| External issue ID: | 8878 | ||||||||
| Description |
|
According to rfc8072, section 2.5., delete operation should return error when the data does not exist. Run curl: ] With no data in car:cars, returns 200 but outputs: ]},"edit-status":{"edit":[ {"edit-id":"edit2","ok":[null]}]}}} This is probably the same issue reported as However adding a car: ] And then executing PATCH delete operation multiple times will always result in status code 200 and output: Expected behavior: |