diff options
author | ache <ache@ache.one> | 2023-12-19 06:55:52 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2023-12-19 06:55:52 +0100 |
commit | 572dcc242373a01a4bbc35f022af55792e1cdd78 (patch) | |
tree | 5aad86c96c40054d90fa382b17d715c90f55eb1d | |
parent | Publish article about train (diff) |
Change message error when receiving bad HTTP method
-rw-r--r-- | src/main.rs | 2 |
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()); }, }; |