def capture_responder_args(req, resp, resource, params):
 resource.captured_req = req
 resource.captured_resp = resp
 resource.captured_kwargs = params

def capture_responder_args ( req , resp , resource , params ) : resource . captured_req = req resource . captured_resp = resp resource . captured_kwargs = params
before hook for capturing responder arguments .