1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00

add example for #1601

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-22 03:21:44 +03:00
parent e41e861c4c
commit a018ba9b0a
12 changed files with 247 additions and 4 deletions

View File

@@ -80,6 +80,8 @@ func (l *requestLoggerMiddleware) ServeHTTP(ctx *context.Context) {
if l.config.PathAfterHandler /* we don't care if Path is disabled */ {
path = l.getPath(ctx)
// note: we could just use the r.RequestURI which is the original one,
// but some users may need the stripped one (on HandleDir).
}
if l.config.Status {