Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/r/e/rest-api-blueprint-0.1/restapiblueprint/lib/__init__.py   rest-api-blueprint(Download)
 
    """
    if len(request.data.strip()) > 0:
        if 'application/json' not in request.headers['Content-Type']:
            return make_error(

src/f/l/Flask-Slither-0.4.16/flask_slither/decorators.py   Flask-Slither(Download)
        if request.method in ['POST', 'PUT', 'PATCH']:
            # enforcing collection as root of payload
            g.s_data = {} if request.data.strip() == "" else \
                json_util.loads(request.data)
            if self._get_root() not in g.s_data:

src/f/l/flask_slither-HEAD/flask_slither/decorators.py   flask_slither(Download)
        if request.method in ['POST', 'PUT', 'PATCH']:
            # enforcing collection as root of payload
            g.s_data = {} if request.data.strip() == "" else \
                json_util.loads(request.data)
            if self._get_root() not in g.s_data: