Stack Overflow, what would I ever do without you?
This commit is contained in:
parent
2612f1d679
commit
cf0066abce
1 changed files with 1 additions and 1 deletions
|
@ -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.");
|
||||
|
|
Loading…
Reference in a new issue