tricircle/tricircle/cinder_apigw
joehuang 0d0ca11e95 [Urgent]Fix the integration test failure casused by http header processing
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>
2016-08-11 02:33:12 -04:00
..
controllers [Urgent]Fix the integration test failure casused by http header processing 2016-08-11 02:33:12 -04:00
__init__.py Move statless design from experiment to master branch 2016-01-14 12:56:57 +08:00
app.py Use PortOpt and IpOpt 2016-05-13 06:09:20 +00:00
opts.py Move statless design from experiment to master branch 2016-01-14 12:56:57 +08:00