python-manilaclient/manilaclient/common/apiclient
Goutham Pacha Ravi 80ec2919ca Stop encoding "~" in query parameters
IETF RFC 3986 classifies "~" as a reserved character [1],
however until python3.7 [2], python's url parsing
used to encode this character.

urllib has seen a lot of churn in various python
releases, and hence we were using a six wrapper
to shield ourselves, however, this backwards-incompatible
change in encoding norms forces us to deal with
the problem at our end.

Manila's API accepts "~" in both, its encoded
or un-encoded forms. So, let's stop encoding it
within manilaclient, regardless of the version
of python running it.

[1] https://tools.ietf.org/html/rfc3986.html
[2] https://docs.python.org/3/library/urllib.parse.html#url-quoting

Closes-Bug: #1785283
Change-Id: I6df5d543ae94ed1fa966c8019a52e9fca19e387e
2018-10-08 17:15:33 -07:00
..
__init__.py Remove copy of incubated Oslo code 2016-09-28 10:06:45 +08:00
base.py Stop encoding "~" in query parameters 2018-10-08 17:15:33 -07:00
exceptions.py Replace six.iteritems() with .items() 2017-02-07 22:35:04 +08:00
utils.py Remove copy of incubated Oslo code 2016-09-28 10:06:45 +08:00