Multiple choice response for version lists

Bug #843051 reported by klmitch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
High
Ziad Sawalha

Bug Description

According to the developer guide (section 3.4): "If a request is made without a version specified in the URI or via HTTP headers, then a multiple-choices response (300) will follow providing links and MIME types to available versions."

I take this to mean that if I make a request to http://127.0.0.1:5001/tokens (without a version in the URI) and with an Accept header value of "application/json", I should get a 300 back, along with the version list specified by the dev guide.

I don't see this happening; I just receive a 404 instead.

Tags: bug
Changed in keystone:
milestone: none → essex-3
assignee: nobody → Ziad Sawalha (ziad-sawalha)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/2564

Changed in keystone:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/2564
Committed: http://github.com/openstack/keystone/commit/aca713d5e0e0f5cd3e58dd45e1fd1d5c3fed141e
Submitter: Jenkins
Branch: master

commit aca713d5e0e0f5cd3e58dd45e1fd1d5c3fed141e
Author: Ziad Sawalha <email address hidden>
Date: Thu Dec 22 02:48:46 2011 -0600

    Implement Multiple Choices Response (bug 843051)

    The bug allowed clients to call keystone without a version
    in the URL (ex. http://localhost:35357/tenants). This will
    prevent that behavior, but will break those clients.

    Change-Id: I8fdf2738371a6ceff9729fdb47563fefa0f0ec79

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: essex-3 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.