~rackspace-titan/nova/limits-v1-1-response-formatting

Viewing all changes in revision 1291.

  • Committer: Tarmac
  • Author(s): Dan Prince
  • Date: 2011-07-20 20:42:09 UTC
  • mfrom: (1277.1.1 fix_faults)
  • Revision ID: tarmac-20110720204209-y94pxlvrzrvg44eu
Set the status_int on fault wrapped exceptions. Fixes WSGI logging issues when faults are returned.

Updated so that webob exceptions aren't used for the happy path (HTTP 200 responses). We now return a proper webob object response in these cases. This fixes issues where HTML/XML would get incorrectly returned with the old style happy path exceptions.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: