From 572dcc242373a01a4bbc35f022af55792e1cdd78 Mon Sep 17 00:00:00 2001 From: ache Date: Tue, 19 Dec 2023 06:55:52 +0100 Subject: Change message error when receiving bad HTTP method --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 06c2521..d707d7c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -85,7 +85,7 @@ fn handle(req: Request, addr: SocketAddr, tx: Sender, config: return respond(StatusCode::OK, "WHAT ?".to_string()); }, _ => { - return respond(StatusCode::METHOD_NOT_ALLOWED, "Tu t'attends à quoi au juste ?".to_string()); + return respond(StatusCode::METHOD_NOT_ALLOWED, "C'est quoi ces manières ?".to_string()); }, }; -- cgit v1.2.3