Closed Jaymon closed 3 years ago
There is Request.body_args
which contains any list arguments that were in body. The problem is this would be hard to do without having Request.controller_info["method_args"]
because Request doesn't automatically know which Request.path_args
will be consumed to find the controller.
Request.controller_info["method_args"]
is populated by taking the remaining path_args
and adding the body_args
Request has a
.kwargs()
method that returns all the keywords that would be passed to the controller, it should have a similar.args()
method that roughly maps toRequest.controller_info["method_args"]