summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2023-12-19 06:55:52 +0100
committerache <ache@ache.one>2023-12-19 06:55:52 +0100
commit572dcc242373a01a4bbc35f022af55792e1cdd78 (patch)
tree5aad86c96c40054d90fa382b17d715c90f55eb1d
parentPublish article about train (diff)
Change message error when receiving bad HTTP method
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
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<Body>, addr: SocketAddr, tx: Sender<VustMessage>, 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());
},
};