<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-11-02 20:42 GMT+08:00 Sean Dague <span dir="ltr"><<a href="mailto:sean@dague.net" target="_blank">sean@dague.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 11/01/2017 11:04 PM, Alex X wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
There is bug complain about the redirect which returned by the 'GET /v2.1' <a href="https://launchpad.net/bugs/1728732" rel="noreferrer" target="_blank">https://launchpad.net/bugs/172<wbr>8732</a><br>
<br>
'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.<br>
<br>
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.<br>
<br>
Is there anybody knowing that why we return a redirect?<br>
</blockquote>
<br></span>
I thought it was an artifact of the way that paste builds pipelines, and the way our resources need urls. I was trying to see if we generate it on our side, but I'm not seeing it, so I suspect this is just a consequence of the resource mapper and paste.</blockquote><div><br></div><div>It is generated it on our side <a href="https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/routes.py#L410">https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/routes.py#L410</a></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
        -Sean<br>
<br>
-- <br>
Sean Dague<br>
<a href="http://dague.net" rel="noreferrer" target="_blank">http://dague.net</a><br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
</font></span></blockquote></div><br></div></div>