diff --git a/matcher.go b/matcher.go index ca4e4077..714bb748 100644 --- a/matcher.go +++ b/matcher.go @@ -11,3 +11,7 @@ type matchResult struct { reason string } +func inspectRequest(r *http.Request, cfg *compiledConfig) matchResult { + paths := requestPaths(r) + userAgent := strings.TrimSpace(r.UserAgent()) +