← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1402339] Re: Status code from HEAD requests must be consistent

 

no movement in over a year, only patch is abandoned

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1402339

Title:
  Status code from HEAD requests must be consistent

Status in OpenStack Identity (keystone):
  Invalid

Bug description:
  Bug 'HEAD and GET inconsistencies in Keystone' [1] reported that HEAD
  should be identical to GET except that there is no body returned, as
  defined on the HTTP 1.1 specification [2], then 200 status code have
  to be returned [3].

  Some inconsistencies were removed, but there is still some work to be
  done:

  1) For all HEAD/GET APIs:
     a) Fix return from 204 to 200, if change applies;
     b) Fix related tests, e.g checking a grant [4];
     c) Fix identity v3 API specification, that reports 204 is returned on most of HEAD APIs (except for /auth/tokens).
  2) Default status code asserted on test_v3 [5] should be 200 instead of 204

  [1] https://bugs.launchpad.net/keystone/+bug/1334368
  [2] http://tools.ietf.org/html/rfc2616#section-9.4
  [3] http://tools.ietf.org/html/rfc2616#section-10.2.1
  [4] https://github.com/openstack/keystone/blob/master/keystone/tests/test_v3_assignment.py#L881
  [5] https://github.com/openstack/keystone/blob/master/keystone/tests/test_v3.py#L479

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


References