We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f8cb63 commit dacbe1aCopy full SHA for dacbe1a
method/method_filter.go
@@ -117,5 +117,5 @@ func (m *Matcher) MatchResponse(res *http.Response) bool {
117
}
118
119
func (m *Matcher) matches(method string) bool {
120
- return strings.ToUpper(method) == strings.ToUpper(m.method)
+ return strings.EqualFold(method, m.method)
121
0 commit comments