[CONTROLLER-591] "Location" header not returned when a new resource is created (POST) Created: 30/Jun/14 Updated: 14/Nov/17 Resolved: 13/Mar/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | restconf |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Liem Nguyen | Assignee: | Vaclav Demcak |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| External issue ID: | 1269 |
| Description |
|
A "Location" header pointing to the URI of the created resource should be returned as part of the POST response. See section 2.4.1 of the Restconf draft for more info. The draft does not talk about asynchronous POST, but if a resource is created asynchronously, the location header should point to a URI where one can retrieve the working status of the asynchronous operation. See http://restcookbook.com/Resources/asynchroneous-operations/ for the design pattern. |
| Comments |
| Comment by Tom Pantelis [ 10/Sep/14 ] |
|
This is really new functionality and should be post-Helium. |
| Comment by Jozef Gloncak [ 17/Sep/14 ] |
| Comment by Jozef Gloncak [ 14/Oct/14 ] |
|
build was retrigered |
| Comment by Jozef Gloncak [ 14/Oct/14 ] |
|
build failure Config subsystem artifact wasn't changed in this patch set. |
| Comment by Jozef Gloncak [ 17/Oct/14 ] |
|
https://git.opendaylight.org/gerrit/#/c/11274/ |
| Comment by Jozef Gloncak [ 03/Nov/14 ] |
|
rebased |
| Comment by Jozef Gloncak [ 15/Jan/15 ] |
|
rebased 15.1.2015 |