mattupstate/flask-jwt — pull request #4 by jarmani (2014-03-12 11:21:21+00:00)
Title: Use force=True in get_json to prevent 500 error on !json requests

username = data.get('username', None)
AttributeError: 'NoneType' object has no attribute 'get'