docs: clarify HTTPProxy match precedence and query-parameter case sensitivity#7538
Open
alliasgher wants to merge 1 commit into
Open
docs: clarify HTTPProxy match precedence and query-parameter case sensitivity#7538alliasgher wants to merge 1 commit into
alliasgher wants to merge 1 commit into
Conversation
…sitivity Adds two missing pieces to the request-routing guide: - A 'Match Condition Precedence' subsection under Conditions explaining the sort order Contour applies to overlapping route conditions (exact > regex > prefix path matches; tie-break by header count then query-param count) so users can predict which route wins. Mirrors the Gateway API HTTPRouteRule spec. - A note on the queryParameter section that 'name' is matched case-sensitively, and ignoreCase applies to the value only. Fixes projectcontour#5774 Fixes projectcontour#5071 Signed-off-by: alliasgher <alliasgher123@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7538 +/- ##
=======================================
Coverage 82.32% 82.32%
=======================================
Files 130 130
Lines 15624 15624
=======================================
Hits 12863 12863
Misses 2478 2478
Partials 283 283 🚀 New features to boost your workflow:
|
Author
|
Could a maintainer add a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #5774
Closes #5071
Adds two missing pieces to the request-routing guide:
nameis matched case-sensitively, andignoreCaseapplies to the value only.