Merge lp:~rackspace-titan/nova/lp795029 into lp:~hudson-openstack/nova/trunk
Proposed by
Alex Meade
Status: | Merged |
---|---|
Approved by: | Brian Waldon |
Approved revision: | 1181 |
Merged at revision: | 1181 |
Proposed branch: | lp:~rackspace-titan/nova/lp795029 |
Merge into: | lp:~hudson-openstack/nova/trunk |
Diff against target: |
112 lines (+43/-3) 3 files modified
nova/api/openstack/wsgi.py (+18/-3) nova/exception.py (+4/-0) nova/tests/api/openstack/test_api.py (+21/-0) |
To merge this branch: | bzr merge lp:~rackspace-titan/nova/lp795029 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ed Leafe (community) | Approve | ||
Brian Waldon (community) | Approve | ||
Review via email: mp+64558@code.launchpad.net |
Description of the change
Changed requests with malformed bodies to return a HTTP 400 Bad Request instead of a HTTP 500 error.
To post a comment you must log in.
This looks great, Alex. Could you actually wrap the 400 you raise with faults.Fault()? This will get us proper response formats. You can import faults in nova/api/ openstack/ wsgi.py