joelverhagen / flask-rauth

Adds OAuth 1.0/a, 2.0, and Ofly consumer support for Flask.
Other
54 stars 22 forks source link

Migrate to modern requests. #5

Closed tonyseek closed 10 years ago

tonyseek commented 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.

Please review the migration changes.