diff --git a/src/main.rs b/src/main.rs index a913679..b8fa36d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,7 +17,7 @@ fn handle_connection(mut stream: TcpStream) { let mut buffer = [0; 1024]; stream.read(&mut buffer).unwrap(); - let get = b"GET / HTTP/1.1\r\n"; + let get = b"GET / HTTP"; let (status_line, contents) = if buffer.starts_with(get) { (