mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-11-21 16:01:38 +01:00
Fixes header match handling using RejectOnMatch behavior (#797)
Co-authored-by: flts <>
This commit is contained in:
1 parent
f0d6ed26bc
commit
f704de65d8
3 files changed
+94
-2
No files matched your search
@@ -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