

@falcon.before(testing.capture_responder_args)
def on_post(self, req, resp, **kwargs):
    req.status = falcon.HTTP_200
    resp.body = json.dumps({
        'data': req.stream.read().decode('utf-8'),
    })

dataset/ETHPy150Open falconry/falcon/tests/test_wsgiref_inputwrapper_with_size.py TypeResource.on_post/VarMisuse@27/33 `resp`->`req`