Versions List Request ignores Accept header

Bug #843052 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 dev guide (section 3.4, around example 3.15), the version list should respond with JSON, XML, and ATOM+XML per the request:

GET http://127.0.0.1:5001/v2.0/
Accept: application/json

GET http://127.0.0.1:5001/v2.0/
Accept: application/xml

GET http://127.0.0.1:5001/v2.0/
Accept: application/atom+xml

All three of the above requests respond with:
Content-Type: application/json; charset=UTF-8

Tags: feature
Revision history for this message
klmitch (q-noreply) wrote :

The first two requests above are now responding properly.

The third one is still responding with JSON.

Revision history for this message
klmitch (q-noreply) wrote :

Moving to backlog, since the last request - ATOM - may not be implemented in D3.

Revision history for this message
klmitch (q-noreply) wrote :

The remainder of this issue can also be relabeled as a Feature Request.

Changed in keystone:
milestone: none → essex-3
Changed in keystone:
status: Confirmed → In Progress
Changed in keystone:
assignee: nobody → Ziad Sawalha (ziad-sawalha)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/2545
Committed: http://github.com/openstack/keystone/commit/8a842139ddc78c7ccb7e93eb8749cba38359a078
Submitter: Jenkins
Branch: master

commit 8a842139ddc78c7ccb7e93eb8749cba38359a078
Author: Ziad Sawalha <email address hidden>
Date: Wed Dec 21 22:46:32 2011 -0600

    Fixed version response (bug 891555 and bug 843052)

    891555: Version response was supposed to be wrapped in a
    'versions' element, instead there was only one version
    being returned at the root.
    Fixed and added tests to validate that.

    843052: requests for version ATOM were ignoring the
    atom+xml as a valid content-type. Fix required
    adding a new atom template file and adding a new
    mapping for the content-type/extension in the
    URL normalizer.
    Fixed and added tests to validate that.

    Change-Id: I259c060e592e11cfc06f59ac5a540178c7f2def2

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.