func (m *Matcher) MatchResponse(res *http.Response) bool {
	matched := m.matches(res.Request)
	if matched {
		log.Debugf("bffurl.Matcher.MatchResponse: matched: %s", m.url)
	}
	return matched
}
MatchResponse retuns true if all non-empty URL segments in m.url match the
request URL.
package bffurl
import (
	"net/http"
	"net/url"
	"github.com/google/martian/v3/log"
	"github.com/google/martian/v3/martianurl"
)
type Matcher struct {
	url     *url.URL
	pattern *Pattern
}
func NewMatcher(url *url.URL) *Matcher {
	return &Matcher{
		url:     url,
		pattern: NewPattern(url.Path),
	}
}
func (m *Matcher) MatchRequest(req *http.Request) bool {
	matched := m.matches(req)
	if matched {
		log.Debugf("bffurl.Matcher.MatchRequest: matched: %s", m.url)
	}
	return matched
}