diff --git a/services/proxy/pkg/router/router.go b/services/proxy/pkg/router/router.go index e58e6cdd73..35ec9d11fe 100644 --- a/services/proxy/pkg/router/router.go +++ b/services/proxy/pkg/router/router.go @@ -209,6 +209,8 @@ func (rt Router) Route(r *http.Request) (RoutingInfo, bool) { if rt.rewriters[pol][rtype][r.Method] != nil { // use specific method method = r.Method + } else { + method = "" } for _, ri := range rt.rewriters[pol][rtype][method] {