Add print statement for logging the request
This commit is contained in:
parent
e5b28029c9
commit
29b7a1e134
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ impl Ear {
|
|||
|
||||
let req = self.extract_first_line_of_request(&stream);
|
||||
let mut sender = Mouth::new(&stream);
|
||||
println!("Received request: {}", &req);
|
||||
|
||||
match parse_uri(&req) {
|
||||
Ok(req) => handle_request(req, sender),
|
||||
|
|
Loading…
Reference in a new issue