Comment 2 for bug 934115

Revision history for this message
dan wendlandt (danwent) wrote : Re: [Bug 934115] Re: Quantum API returns 200 status code when wrong error of the API is specified on URI

all urls include a version, see:
http://docs.openstack.org/incubation/openstack-network/developer/quantum-api-1.0/content/Versions.html

my guess is that if you query a url with a bogus version, say 2.0, you get
an HTTP 200 back, whereas the bug says you should get a 404 back.

for example:

GET /v2.0/tenants/tenantX/networks

On Fri, Mar 2, 2012 at 4:03 PM, Maru Newby <email address hidden> wrote:

> How do I reproduce this problem?
>
> ** Changed in: quantum
> Assignee: (unassigned) => Maru Newby (maru)
>
> --
> You received this bug notification because you are a member of Netstack
> Core Developers, which is subscribed to quantum.
> https://bugs.launchpad.net/bugs/934115
>
> Title:
> Quantum API returns 200 status code when wrong error of the API is
> specified on URI
>
> Status in OpenStack Quantum (virtual network service):
> New
>
> Bug description:
> If a non-existent API version if specified, say X.Y, the Quantum API
> returns the "versions" screen with a 200 status code.
> I'm not sure whether this is the intended behaviour; a 404 would sound
> more suitable for me.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/quantum/+bug/934115/+subscriptions
>

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt
Nicira Networks: www.nicira.com
twitter: danwendlandt
~~~~~~~~~~~~~~~~~~~~~~~~~~~