distcloud/distributedcloud/dcmanager
Li Zhu 5f77709881 Debian: Add decode for the request headers
According to python and WSGI documentations, in python3, all WSGI
applications are expected to return encode bytes. All strings passed
to or from the server must be standard Python byte strings, so no
exception for the headers. We added utf-8 decode to make sure the byte
string headers can be processed properly. This would not impact the
previous string headers processing in the old version on CentOS.

Test Plan:
Verify: Subcloud manage/unmanage on CentOS
Verify: Subcloud manage/unmanage on Debian

Story: 2010119
Task: 45859

Signed-off-by: Li Zhu <li.zhu@windriver.com>
Change-Id: I69f9c3273d9b46f6b976b4ccd09504173965e1e5
2022-07-25 09:36:10 -04:00
..
api Debian: Add decode for the request headers 2022-07-25 09:36:10 -04:00
audit Tech debt: move portions of dcorch.common.consts into dccommon.consts 2022-06-16 12:28:44 -04:00
cmd Refactor portion of dcmanager into dcmanager-state process 2022-01-27 16:33:41 -05:00
common Move from /opt/dc/ansible to /var/opt/dc/ansible 2022-07-19 21:39:55 +00:00
db Tech debt: move portions of dcorch.common.consts into dccommon.consts 2022-06-16 12:28:44 -04:00
manager Fix python3 issue in SubcloudNotFound exception handling 2022-07-15 09:25:50 -04:00
objects Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
orchestrator Enhance handling on-going patch strategy 2022-07-13 12:15:28 -04:00
rpc Tech debt: move portions of dcorch.common.consts into dccommon.consts 2022-06-16 12:28:44 -04:00
state Tech debt: move portions of dcorch.common.consts into dccommon.consts 2022-06-16 12:28:44 -04:00
tests Merge "Move from /opt/dc/ansible to /var/opt/dc/ansible" 2022-07-19 22:29:00 +00:00
__init__.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
config-generator.conf Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
version.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00