diff --git a/src/filter/http_context.rs b/src/filter/http_context.rs index 2290266d..89ce52a2 100644 --- a/src/filter/http_context.rs +++ b/src/filter/http_context.rs @@ -133,6 +133,11 @@ impl Context for Filter { } }; + // Get the type of Response (RL/AUTH), we have the token_id that could tell us which OP was triggered and the resp_bytes, + // this could be part of the Service mod instead of OpsDispatcher. + // Create separated fns for treating the response for RL and Auth here + // Filter decides what to do and calls the FSM + let rl_resp: RateLimitResponse = match Message::parse_from_bytes(&res_body_bytes) { Ok(res) => res, Err(e) => {