log tweak
This commit is contained in:
1 parent
2b1d707f6d
commit
75b8ad1c0c
1 file changed
+1
-1
@@ -75,7 +75,7 @@ namespace Http
|
||||
mimetype = server.utils.MimeType(decoded_path)
|
||||
response.ContentType(mimetype)
|
||||
response.fileLength = stat.size
|
||||
LogInfo(`uri=${request.uri}, target=${path}, content-type=${mimetype}, content-length=${response.fileLength}`)
|
||||
LogInfo("uri:", request.uri, "target:", path, "content-type:", mimetype, "content-length", response.fileLength)
|
||||
router.GenerateFile(path, router, request, response)
|
||||
return true
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user