mirror of
https://github.com/YGGverse/titanit.git
synced 2026-03-31 17:15:30 +00:00
dump event
This commit is contained in:
parent
6027dd52d3
commit
e458b1702a
1 changed files with 1 additions and 0 deletions
|
|
@ -152,6 +152,7 @@ fn titan(
|
||||||
stream: &mut TlsStream<TcpStream>,
|
stream: &mut TlsStream<TcpStream>,
|
||||||
) {
|
) {
|
||||||
use titanite::*;
|
use titanite::*;
|
||||||
|
println!("[{}] [info] [{peer}] Request: {}", now(), titan.url);
|
||||||
// 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