python-magnumclient/releasenotes/notes
Tobias Urdin c024b4fc43 Check response type in _extract_error_json
The response being passed to _extract_error_json
is assumed to be a requests.Response but can also
be a http.client.HTTPResponse.

This patch adds a try statement where it first tries
for a requests.Response and if not set falls back on
parsing the string body instead of trying to use the
json() helper function in requests.Response.

Change-Id: I61840d284b5d3a249f621822b277c9bd6825140d
Closes-Bug: 1870264
2020-04-08 09:46:58 +00:00
..
bug-1870264-1b4f14618b8422f9.yaml Check response type in _extract_error_json 2020-04-08 09:46:58 +00:00
partial_osc_implementation_for_certificate-4597c20b59c152e1.yaml OSC command for ca-show, ca-sign, ca-roatate and stats-list 2018-02-26 10:20:52 +00:00
partial_osc_implementation_for_quotas-33f44c0496d721f8.yaml OSC command for magnum quota's 2018-02-28 12:14:54 +00:00