HTTP response header and status code modification
Since in senlin, object creation is done asynchronously, so the server should return code 202 instead of 200, which means the request is accept.
The http response header should contain resource's url information.
Blueprint information
Related branches
Related bugs
Sprints
Whiteboard
The APIs which are need to be fixed including:
'create' and 'delete' action.
Gerrit topic: https:/
Addressed by: https:/
Make asynchronous action return 202
Addressed by: https:/
Fix status code returned from API
Addressed by: https:/
Make senlin API return correct status code
Gerrit topic: https:/
Addressed by: https:/
Remove HTTPAccept exception raised when update cluster
Gerrit topic: https:/
Addressed by: https:/
Remove HTTPAccept exception from node update API
Gerrit topic: https:/
Addressed by: https:/
Remove HTTPNoContent from cluster delete API
Addressed by: https:/
Make node delete request return no body
Addressed by: https:/
Remove HTTPNoContent from profile delete API
Addressed by: https:/
Remove HTTPNoContent from policy delete API
Addressed by: https:/
Remove HTTPNoContent from webhook delete API
Addressed by: https:/
Make cluster-delete retuan a location header
Addressed by: https:/
Make node-delete return a location header
Addressed by: https:/
Make nodd-update return a location header and body
Addressed by: https:/
Make cluster-resize return a location header
Addressed by: https:/
Make cluster actions API return a location header
Addressed by: https:/
Make node join/leave return a location header
Addressed by: https:/
Make node-create return a location header
Addressed by: https:/
Make webhook-trigger return a location header
Addressed by: https:/
Update TODO list