Merge lp:~reldan/nova/lp766282 into lp:~hudson-openstack/nova/trunk
Proposed by
Eldar Nugaev
Status: | Merged |
---|---|
Approved by: | Vish Ishaya |
Approved revision: | 1010 |
Merged at revision: | 1022 |
Proposed branch: | lp:~reldan/nova/lp766282 |
Merge into: | lp:~hudson-openstack/nova/trunk |
Diff against target: |
43 lines (+16/-6) 2 files modified
nova/tests/api/test_wsgi.py (+6/-0) nova/wsgi.py (+10/-6) |
To merge this branch: | bzr merge lp:~reldan/nova/lp766282 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Devin Carlen (community) | Approve | ||
Brian Waldon (community) | Approve | ||
Jay Pipes (community) | Approve | ||
Review via email: mp+58604@code.launchpad.net |
This proposal supersedes a proposal from 2011-04-20.
Description of the change
Fix bug with content-type and small OpenStack API actions refactor
To post a comment you must log in.
157: This test is a bit misleading. You set the content-type to json, but you have an xml body. Was this the intention, or was it just a copy/paste mistake?
189-201: Would you mind using self.content_type rather than parsing it out yourself with regex? The class you are working in is a webob.Request, so you should be able to take this approach: http:// pythonpaste. org/webob/ reference. html#id4
I'm also not too keen on the removal of all the try/except's from the _action_... methods. Why did you do this? You really shouldn't sneak in changes that aren't directly related to the bug you are fixing. If you feel differently, I would love to hear your thoughts.