This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct http return code of identify versions api
Keystone returns 300 http code (Multiple Choices) instead of 200 (OK) [0] when client GETs the api version info that current identify service supported. This wrong return code causes keystonemiddleware failed at api version query [1] with error "Unable to get version info from keystone: 200", which middleware as a client of keystone lives in a upperlayer service. [0] https://github.com/openstack/keystone/blob/master/keystone/controllers.py#L132 [1] https://github.com/openstack/keystonemiddleware/blob/master/keystonemiddleware/auth_token.py#L1245 For the details of curl test, see http://paste.openstack.org/show/92177/ . Signed-off-by: Zhi Yan Liu <zhiyanl@cn.ibm.com>
- Loading branch information