diff options
| author | Eoghan Glynn <eglynn@redhat.com> | 2012-07-20 12:00:12 +0100 |
|---|---|---|
| committer | Eoghan Glynn <eglynn@redhat.com> | 2012-07-27 20:44:29 +0100 |
| commit | 3f71934f0e05b43c2093104c0412e46f5343595a (patch) | |
| tree | 9790aa38dbf373d73a8053f5bb386bfaba477cf2 /nova/openstack | |
| parent | 3a00eb0c8029de719caf4b6658ae983bd9070bbb (diff) | |
| download | nova-3f71934f0e05b43c2093104c0412e46f5343595a.tar.gz nova-3f71934f0e05b43c2093104c0412e46f5343595a.tar.xz nova-3f71934f0e05b43c2093104c0412e46f5343595a.zip | |
Return location header on volume creation
Partially addresses LP 1026600
Normal RESTful idiom would dictate that the "Location" header is set
to reference the newly created resource.
We defer lining up the status code returned with generally accepted
RESTful convention (currently "200 OK", should be "201 Created" or
"202 Accepted") until the next API major version bump.
There is already substantial code duplication between the volumes API
and the os-volumes API extension - this will be addressed in a later
patch.
Change-Id: I166846a4cfea8adc8c156b8ae0e0d288681ac08c
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
