← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1568011] [NEW] server bookmark link returns 300 and choices without a location header

 

Public bug reported:

When a server returns a 300 response code to indicate there are multiple
available URLs for the entity being requested, it has the option of
setting the Location header to the preferred or primary representation.
The client may, at its option, choose to redirect to that location.

When getting a /servers/{id} there is a 'bookmark' link. When getting
that link the v2 and v2.1 links are present in the choices. Seems like
it would make sense to put the v2.1 link in the location header to
express the preference.

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: api gabbi

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

Title:
  server bookmark link returns 300 and choices without a location header

Status in OpenStack Compute (nova):
  New

Bug description:
  When a server returns a 300 response code to indicate there are
  multiple available URLs for the entity being requested, it has the
  option of setting the Location header to the preferred or primary
  representation. The client may, at its option, choose to redirect to
  that location.

  When getting a /servers/{id} there is a 'bookmark' link. When getting
  that link the v2 and v2.1 links are present in the choices. Seems like
  it would make sense to put the v2.1 link in the location header to
  express the preference.

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


Follow ups