pub fn run_post_request(
script: &Script,
response: &Response,
) -> (ScriptOutcome, ScriptOutput)Expand description
Run a post_request script against a response, returning its verdict and
anything it printed.
The verdict is infallible by design: every way this can go wrong is a
statement about the response, and the caller reports all of them the same
way. The response is pushed as a constant, so assigning to it is Rhai’s
own error rather than a silent no-op — see [response_map].