remove debug print + add print when server is ready

This commit is contained in:
2022-09-19 15:20:04 +00:00
parent 61479517b5
commit 35cc483774
2 changed files with 1 additions and 3 deletions
-3
View File
@@ -120,7 +120,6 @@ impl HTTPStartLine {
}
fn check_version(version: &String) -> bool {
println!("version : {}", version);
HTTP_VERSION_REGEX.is_match(version)
}
@@ -197,8 +196,6 @@ impl HTTPRequest {
.map(|r| r.to_string())
.collect();
println!("request parts : {:?}", request_parts);
if request_parts.len() < 3 {
return Err("request has no enough informations to be correctly parsed".to_string());
}