[openstack-dev] [api][nova] Why we return a redirect (302) when request to 'GET /v2.1'?

Alex Xu soulxu at gmail.com
Thu Nov 2 06:04:13 UTC 2017


There is bug complain about the redirect which returned by the 'GET /v2.1'
https://launchpad.net/bugs/1728732

'GET /v2.1' will return a redirect to the 'GET /v2.1/'. The response of
'GET /v2.1/' is the API version info. This seems nova API behaviour for a
long time.

In the keystone catalog, the endpoint should be the version API I think.
For nova, it is 'GET /v2.1' which return a redirect instead of version info.

Is there anybody knowing that why we return a redirect?

Thanks
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20171102/02f6c4b6/attachment.html>


More information about the OpenStack-dev mailing list