On 07/23/2015 12:43 PM, Ryan Brown wrote:
On 07/23/2015 12:13 PM, Jay Pipes wrote:
On 07/23/2015 10:53 AM, Bunting, Niall wrote:
Currently when a body is passed to an API operation that explicitly
does not allow bodies Glance throws a 500.
Such as in this bug report:
https://bugs.launchpad.net/glance/+bug/1475647 This is an example of
a GET however this also applies to other requests.
What should Glance do rather than throwing a 500, should it return a
400 as the user provided an illegal body
+1, this should be a 400. It would also be acceptable (though less
preferable) to ignore any body on GET requests and execute the request
i'm also +1 on the 400 band wagon
OpenStack Development Mailing List (not for usage questions)