remove debug print + add print when server is ready
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user