fix: Added changes to handle headers as case-insensitive#298
Merged
Conversation
e0f0a81 to
aebcff3
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #298 +/- ##
==========================================
+ Coverage 65.07% 65.50% +0.43%
==========================================
Files 25 25
Lines 3204 3256 +52
==========================================
+ Hits 2085 2133 +48
- Misses 905 907 +2
- Partials 214 216 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
aebcff3 to
f026624
Compare
harshadixit12
approved these changes
Jun 12, 2026
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.
GH: Kong/deck#2080
Fixed three corner cases in header-based routing.
When a header's enum had duplicate values differing only by case (e.g. us-east vs US-EAST), or the same header was defined twice with different casing (e.g. X-Env and x-env), decK was generating redundant or conflicting routes.
We now normalize and deduplicate header names and values, merge same-header definitions, and filter out empty string enum values — resulting in cleaner and more predictable route generation
slack thread: https://kongstrong.slack.com/archives/C04349E4KRC/p1779423079760519