diff --git a/src/server.rs b/src/server.rs index bacde12..5bcd8ea 100644 --- a/src/server.rs +++ b/src/server.rs @@ -1034,6 +1034,7 @@ fn status_forbid(res: &mut Response) { fn status_not_found(res: &mut Response) { *res.status_mut() = StatusCode::NOT_FOUND; + *res.body_mut() = Body::from("Not Found"); } fn status_no_content(res: &mut Response) {