Fixed typo in http not found message
This commit is contained in:
parent
33b55bf4a6
commit
21d203431b
@ -34,7 +34,7 @@ fn main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn fail(mut stream: TcpStream) {
|
fn fail(mut stream: TcpStream) {
|
||||||
let _ = write!(stream, "HTTP/1.1 404 Not Fonud\r\n\r\n");
|
let _ = write!(stream, "HTTP/1.1 404 Not Found\r\n\r\n");
|
||||||
let _ = writeln!(stream, "Page not found!");
|
let _ = writeln!(stream, "Page not found!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user