← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1182681] Re: v3 doesn't return Location header on 201 Created

 

++ I should have referenced this bug in the commit message, and tracked
this against openstack-api-site.

** Changed in: keystone
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1182681

Title:
  v3 doesn't return Location header on 201 Created

Status in OpenStack Identity (Keystone):
  Invalid

Bug description:
  
  According to the identity V3 API doc[1] the create group response should include the Location header, but when I create a group there's no Location header returned. Either the identity V3 API doc is incorrect or the Keystone server is incorrect.

  [1] https://github.com/openstack/identity-api/blame/master/openstack-
  identity-api/src/markdown/identity-api-v3.md#L1997

  To recreate, create a group and look at the headers returned.

  $ curl -i -H "X-Auth-Token: admin1token" -H "Content-Type: application/json" -d '{"group": {"name": "Group2"}}' http://localhost:35357/v3/groups
  HTTP/1.1 201 Created
  Vary: X-Auth-Token
  Content-Type: application/json
  Content-Length: 201
  Date: Tue, 21 May 2013 22:45:58 GMT

  {"group": {"domain_id": "default", "description": "", "id":
  "290aec9bf893468d81d173425ca3973b", "links": {"self":
  "http://localhost:5000/v3/groups/290aec9bf893468d81d173425ca3973b"},
  "name": "Group2"}}

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1182681/+subscriptions