Comment 21 for bug 1559072

Revision history for this message
Alex Xu (xuhj) wrote : Re: exceptions.from_response with webob 1.6.0 results in "AttributeError: 'unicode' object has no attribute 'get'"

Nova return fault at here https://github.com/openstack/nova/blob/stable/mitaka/nova/wsgi.py#L460 for any resource which didn't register to the route mapper

If we try to request with '-H "Accept: text/plain"' explicitly and with webob 1.6.0, we will get same response as before"

curl -g -i -X GET http://192.168.2.176:8774/v2.1/b90b53ed87d74e19806da34dbaa056c9/ser -H "User-Agent: python-novaclient" -H "Accept: text/plain" -H "X-Auth-Token: 3d30d32d4c3f4c36b268656f070a7e4a"HTTP/1.1 404 Not Found
Content-Length: 52
Content-Type: text/plain; charset=UTF-8
X-Compute-Request-Id: req-12de9dc1-ff6a-4f77-81a3-079a1d4c0221
Date: Tue, 22 Mar 2016 09:58:47 GMT

404 Not Found

The resource could not be found.