Re: [openstack-dev] [glance][api] Response when a illegal body is sent

2015-07-27 Thread Kuvaja, Erno
-Original Message- From: Ian Cordasco [mailto:ian.corda...@rackspace.com] Sent: Friday, July 24, 2015 4:58 PM To: openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] [glance][api] Response when a illegal body is sent On 7/23/15, 19:38, michael mccune m...@redhat.com

Re: [openstack-dev] [glance][api] Response when a illegal body is sent

2015-07-24 Thread Ian Cordasco
On 7/23/15, 19:38, michael mccune m...@redhat.com wrote: 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: Hi, Currently when a body is passed to an API operation that explicitly does not allow bodies Glance

Re: [openstack-dev] [glance][api] Response when a illegal body is sent

2015-07-24 Thread Clint Byrum
Excerpts from Ian Cordasco's message of 2015-07-24 08:58:06 -0700: On 7/23/15, 19:38, michael mccune m...@redhat.com wrote: 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: Hi, Currently when a body is

Re: [openstack-dev] [glance][api] Response when a illegal body is sent

2015-07-24 Thread Ian Cordasco
On 7/24/15, 13:16, Clint Byrum cl...@fewbar.com wrote: Excerpts from Ian Cordasco's message of 2015-07-24 08:58:06 -0700: On 7/23/15, 19:38, michael mccune m...@redhat.com wrote: 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,

Re: [openstack-dev] [glance][api] Response when a illegal body is sent

2015-07-23 Thread michael mccune
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: Hi, 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:

[openstack-dev] [glance][api] Response when a illegal body is sent

2015-07-23 Thread Bunting, Niall
Hi, 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

Re: [openstack-dev] [glance][api] Response when a illegal body is sent

2015-07-23 Thread Jay Pipes
On 07/23/2015 10:53 AM, Bunting, Niall wrote: Hi, 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

Re: [openstack-dev] [glance][api] Response when a illegal body is sent

2015-07-23 Thread Ryan Brown
On 07/23/2015 12:13 PM, Jay Pipes wrote: On 07/23/2015 10:53 AM, Bunting, Niall wrote: Hi, 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