[NETCONF-429] Status code for patch error response is not proper. Created: 14/Jun/17 Updated: 15/Mar/19 Resolved: 22/Sep/17 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Sudhanshu Gaur | Assignee: | Jakub Toth |
| Resolution: | Done | 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: | 8689 | ||||||||
| Description |
|
While updating configurations using PATCH, in case there is an error, the patch response status code always says 200 OK. Ideally it should be 500 series response code. This behavior is seen in BORON-SR3. |
| Comments |
| Comment by Jakub Toth [ 22/Jun/17 ] |
|
Hi, can you please add any example of this case ? I got error message with 400 status code when I tried this method. |
| Comment by Sudhanshu Gaur [ 22/Jun/17 ] |
|
Hi, ] ] But the status code is 200 OK. Sudhanshu |
| Comment by Jakub Toth [ 26/Jun/17 ] |
|
Yeah, you're right. I made a bad test for this case. It's confirmed. |
| Comment by Jakub Toth [ 11/Aug/17 ] |