Merge "The encoding parameter in json.loads has been removed in py3.9"
This commit is contained in:
commit
d1adb3ff0d
@ -260,7 +260,7 @@ class HTTPAction(actions.Action):
|
||||
|
||||
# Represent important resp data as a dictionary.
|
||||
try:
|
||||
content = resp.json(encoding=resp.encoding)
|
||||
content = resp.json()
|
||||
except Exception:
|
||||
LOG.debug("HTTP action response is not json.")
|
||||
content = resp.content
|
||||
|
Loading…
x
Reference in New Issue
Block a user