Fixes header match handling using RejectOnMatch behavior (#797)

Co-authored-by: flts <>
This commit is contained in:
Florian
2022-08-23 07:52:45 +02:00
committed by GitHub
parent f0d6ed26bc
commit f704de65d8
3 changed files with 94 additions and 2 deletions

View File

@@ -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);