mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-23 09:52:05 +01:00
Fixes header match handling using RejectOnMatch behavior (#797)
Co-authored-by: flts <>
This commit is contained in:
@@ -135,7 +135,7 @@ public class RequestMessageHeaderMatcher : IRequestMatcher
|
||||
results.Add(MatchScores.ToScore(resultsPerMatcher, MatchOperator.And));
|
||||
}
|
||||
|
||||
return MatchBehaviourHelper.Convert(_matchBehaviour, MatchScores.ToScore(results, MatchOperator));
|
||||
return MatchScores.ToScore(results, MatchOperator);
|
||||
}
|
||||
|
||||
return MatchBehaviourHelper.Convert(_matchBehaviour, MatchScores.Mismatch);
|
||||
|
||||
Reference in New Issue
Block a user