diff --git a/src/main.rs b/src/main.rs index d5957c8..ebef6ab 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,7 +19,7 @@ fn get_page(request: String) -> String { fn process_request(request: Vec) -> String { let mut input = String::from_utf8_lossy(&request).to_string(); - let mut output = String::new(); + let output; if input.contains("GET") { // To-do: find a less atrocious way to do this. println!("Stream sent GET request.");