Release 0.6.0 #360

Merged
Jef Roosens merged 47 commits from release-0.6.0 into main 2023-07-17 13:35:04 +02:00
Showing only changes of commit 3b24ad0f2c - Show all commits

View file

@ -332,9 +332,10 @@ fn handle_conn[T](mut conn net.TcpConn, mut app T, routes map[string]Route) {
} }
// Record how long request took to process // Record how long request took to process
path := urllib.parse(app.req.url) or { urllib.URL{} }.path
labels := [ labels := [
['method', app.req.method.str()]!, ['method', app.req.method.str()]!,
['path', app.req.url]!, ['path', path]!,
// Not all methods properly set this value yet I think // Not all methods properly set this value yet I think
['status', app.status.int().str()]!, ['status', app.status.int().str()]!,
] ]