show 409 responses

409s are getting eaten... and nova uses this to return error when not in
the correct state to do an operation.

Change-Id: I76e9e98a89deb19e6b8aa32426fa31d6d66b8fdd
This commit is contained in:
Chris Behrens 2012-01-04 16:03:04 -08:00
parent 4c61a89457
commit 20be4a0add

@ -97,7 +97,7 @@ class HTTPClient(httplib2.Http):
else:
body = None
if resp.status in (400, 401, 403, 404, 408, 413, 500, 501):
if resp.status in (400, 401, 403, 404, 408, 409, 413, 500, 501):
raise exceptions.from_response(resp, body)
return resp, body