diff --git a/crates/core/src/service.rs b/crates/core/src/service.rs index d7ee9135b..e7d209c4b 100644 --- a/crates/core/src/service.rs +++ b/crates/core/src/service.rs @@ -177,11 +177,12 @@ struct DefaultStatusOK; impl Handler for DefaultStatusOK { async fn handle( &self, - _req: &mut Request, - _depot: &mut Depot, + req: &mut Request, + depot: &mut Depot, res: &mut Response, - _ctrl: &mut FlowCtrl, + ctrl: &mut FlowCtrl, ) { + ctrl.call_next(req, depot, res).await; if res.status_code.is_none() { res.status_code = Some(StatusCode::OK); }