remove extra details from dump

This commit is contained in:
yggverse 2025-02-23 04:03:53 +02:00
parent c6fc325364
commit cfeb6bb62a

View file

@ -152,12 +152,7 @@ fn titan(
stream: &mut TlsStream<TcpStream>, stream: &mut TlsStream<TcpStream>,
) { ) {
use titanite::*; use titanite::*;
println!( println!("[{}] [info] [{peer}] Request: {}", now(), titan.url);
"[{}] [info] [{peer}] Request: {} ({} bytes)",
now(),
titan.url,
titan.size
);
// require content type for application, // require content type for application,
// even MIME value is optional by Titan specification // even MIME value is optional by Titan specification
let mime = match titan.mime { let mime = match titan.mime {