nfv/nova-api-proxy
Dan Voiculeasa 14fa1e4667 py3: nfv update urllib compatibility
There is incompatible urllib usage.

Use six library instead of urllib.quote to fix incompatibility.
The Request object add_data method doesn't exist anymore. Use direct
access to data field instead.

This commit extracted urllib.parse.quote usage from Charles Short's
work Iecfe9b83245847b07aaaa0ec1aadad4734a9d118. Added changes
for Request.add_data usage on top of it.

Story: 2008454
Task: 42727
Co-authored-by: Charles Short <charles.short@windriver.com>
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: Ifd82ea8d4134a2a6301e5b10d4b0546833ed6193
(cherry picked from commit 522a3b3660e280d58352d1efe33bfdb8ab2e0461)
2021-07-26 13:12:25 -04:00
..
2018-05-31 07:36:51 -07:00