Fix HTTP response code for network APIs and improve error message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-site |
Fix Released
|
Medium
|
Diane Fleming |
Bug Description
https:/
commit fa1857184db370f
Author: Aaron Rosen <email address hidden>
Date: Mon Oct 28 15:25:42 2013 -0700
Fix HTTP response code for network APIs and improve error message
This patch corrects the http response codes for network resources to be
consistant with other resources by returning a 400 instead of a 404
if the desired resource is not found.
This patch makes the following api changes:
v2-api: NetworkNotFound now returns 400 instead of 404 and improved error
message which network was not found instead of
'The resource could not be found'.
v3-api: PortNotFound and NetworkNotFound now returns a 400 instead of a 404.
Closes-bug: #1245696
DocImpact
Change-Id: I66eb0c0ab926e0
affects: | openstack-manuals → openstack-api-site |
Changed in openstack-api-site: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → icehouse |
tags: |
added: compute-v3 conmpute-api removed: nova |
tags: |
added: compute-api removed: conmpute-api |
https:/ /review. openstack. org/92419