Closed tonyseek closed 10 years ago
Since 1.0, the python-requests library uses response.json() method instead of response.json attribute, and throws ValueError for JSON decoding failure instead of return None.
python-requests
response.json()
response.json
ValueError
None
Please review the migration changes.
Since 1.0, the
python-requests
library usesresponse.json()
method instead ofresponse.json
attribute, and throwsValueError
for JSON decoding failure instead of returnNone
.Please review the migration changes.