Fixes header match handling using RejectOnMatch behavior (#797)

Co-authored-by: flts <>
This commit is contained in:
Florianandflts authored and GitHub committed 2022-08-23 07:52:45 +02:00
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);