mirror of
https://github.com/YGGverse/titanit.git
synced 2026-04-02 01:55:34 +00:00
remove extra details from dump
This commit is contained in:
parent
c6fc325364
commit
cfeb6bb62a
1 changed files with 1 additions and 6 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue