mirror of
https://github.com/wassname/flask-security.git
synced 2026-07-08 00:10:54 +08:00
e1c7ec303f52573b1177a2cf83df5ef771ee8c46
The `request.json` method now calls `get_json`, which raises `BadRequest` if there is no json data or some error with it. So, it cannot be directly used as a check for presence of json data. This code currently returns a bad request if content type is `application/json` but json data is empty. https://github.com/mitsuhiko/flask/blob/master/flask/wrappers.py#L110
Flask-Security ============== .. image:: https://secure.travis-ci.org/mattupstate/flask-security.png?branch=develop Flask-Security quickly adds security features to your Flask application. Resources --------- - `Documentation <http://packages.python.org/Flask-Security/>`_ - `Issue Tracker <http://github.com/mattupstate/flask-security/issues>`_ - `Code <http://github.com/mattupstate/flask-security/>`_ - `Development Version <http://github.com/mattupstate/flask-security/zipball/develop#egg=Flask-Security-dev>`_
Languages
Python
95.2%
HTML
4.8%