Stack Overflow, what would I ever do without you?

This commit is contained in:
abbie 2021-09-02 16:18:23 +01:00
parent 2612f1d679
commit cf0066abce

View file

@ -19,7 +19,7 @@ fn get_page(request: String) -> String {
fn process_request(request: Vec<u8>) -> 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.");