aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/responsematchers.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddyhttp/responsematchers.go')
-rw-r--r--modules/caddyhttp/responsematchers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/responsematchers.go b/modules/caddyhttp/responsematchers.go
index cf96b00cd..a6b34c76d 100644
--- a/modules/caddyhttp/responsematchers.go
+++ b/modules/caddyhttp/responsematchers.go
@@ -41,7 +41,7 @@ func (rm ResponseMatcher) Match(statusCode int, hdr http.Header) bool {
if !rm.matchStatusCode(statusCode) {
return false
}
- return matchHeaders(hdr, rm.Headers, "", nil)
+ return matchHeaders(hdr, rm.Headers, "", []string{}, nil)
}
func (rm ResponseMatcher) matchStatusCode(statusCode int) bool {