1.What is the problem: Python requests lib is used to forward the http request from the Cinder API-GW to bottom Cinder. Now the latest version of the requests lib add stricter header validity check: only bytes or string is allowed for header item's value, other value will lead to exception, even for "None". But Cinder client will pass some header items with "None" value in the api request to Cinder API-GW, thus lead to the exception in Cinder API-GW when forwarding the request to the bottom Cinder via requests lib, which lead to the integration failed, and block any patch to be merged. 2.What's need to be fixed: Remove(clean) the invalid header items in the request to the bottom Cinder, in which the python requests lib is used. So that integration test can pass, and make patch being able to be merged. 3.What is the purpose of this patch set: Fix the integration test failure issue casued by strict validity check in http header processing. Change-Id: Iff6d2dd77571180ef9a0cad2171c479be63bd880 Signed-off-by: joehuang <joehuang@huawei.com>changes/27/353827/4
parent
8f3cd2e672
commit
0d0ca11e95
Loading…
Reference in new issue