fix log message
This commit is contained in:
parent
1c4e450f1d
commit
9d6fdb3e98
1 changed files with 4 additions and 4 deletions
|
|
@ -36,10 +36,10 @@ where
|
||||||
req.version(),
|
req.version(),
|
||||||
client_addr,
|
client_addr,
|
||||||
req.method(),
|
req.method(),
|
||||||
req
|
req.headers().get("host").map_or_else(
|
||||||
.headers()
|
|| req.uri().host().unwrap_or("<none>"),
|
||||||
.get("host")
|
|h| h.to_str().unwrap()
|
||||||
.map_or_else(|| "<none>", |h| h.to_str().unwrap()),
|
),
|
||||||
req.uri(),
|
req.uri(),
|
||||||
req
|
req
|
||||||
.headers()
|
.headers()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue