adsabs / adsws

ADS web services
Other
2 stars 15 forks source link

accounts: more robust parsing of POST data #42

Closed vsudilov closed 9 years ago

vsudilov commented 9 years ago

Currenty the get_post_data method breaks if content-type is not set to application/json; this should be fixed such that form encoded data should work without specifying content-type

vsudilov commented 9 years ago

get_post_data() now performs request.get_json(force=True), and on exception falls back to request.values

closed in 7e22c20b1bfc1168fe8d837bc4c9bd8b3de0e9af