]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix url in API response to get original
authorTakeaki Matsumoto <takeaki.matsumoto@ntt.com>
Tue, 25 Aug 2015 07:47:01 +0000 (16:47 +0900)
committerqueile <tkak.matsumoto@gmail.com>
Fri, 28 Aug 2015 15:46:48 +0000 (00:46 +0900)
commitd348d557581966160f8843f6a18eda8845ae432d
tree4867d7b54b26bf57eb4757dfbaf92900f0527006
parent6f250ac6a5284e6e53708c696b6eacce59d5292a
Fix url in API response to get original

This changes the url in the API response to get the original value of
redirection if the header 'X-Forwarded-Host' exists.

Change-Id: I10877522db5df66d14c01487de6297f1336cecaf
Closes-Bug: 1488373
cinder/api/common.py
cinder/tests/unit/api/test_common.py