diff --git a/pkg/serverconfigs/http_cache_ref.go b/pkg/serverconfigs/http_cache_ref.go index 8e68f63..ba37940 100644 --- a/pkg/serverconfigs/http_cache_ref.go +++ b/pkg/serverconfigs/http_cache_ref.go @@ -78,11 +78,6 @@ func (this *HTTPCacheRef) Init() error { for _, method := range this.Methods { this.methodMap[strings.ToUpper(method)] = true } - } else { - this.methodMap = map[string]bool{ - "GET": true, - "HEAD": true, - } } return nil