Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gateway API: only keep first match for a given header name #4593

Merged
merged 2 commits into from
Jun 23, 2022

Conversation

skriss
Copy link
Member

@skriss skriss commented Jun 23, 2022

Adds logic to only keep the first HTTP header match
with a given name (case-insensitive) for each HTTP
route rule, per the Gateway API spec.

Closes #4591.

Signed-off-by: Steve Kriss krisss@vmware.com

Adds logic to only keep the first HTTP header match
with a given name (case-insensitive) for each HTTP
route rule, per the Gateway API spec.

Closes projectcontour#4591.

Signed-off-by: Steve Kriss <krisss@vmware.com>
@skriss skriss added the release-note/small A small change that needs one line of explanation in the release notes. label Jun 23, 2022
@skriss skriss requested a review from a team as a code owner June 23, 2022 18:48
@skriss skriss requested review from tsaarni and youngnick and removed request for a team June 23, 2022 18:48
Signed-off-by: Steve Kriss <krisss@vmware.com>
@skriss skriss requested a review from sunjayBhatia June 23, 2022 18:49
@codecov
Copy link

codecov bot commented Jun 23, 2022

Codecov Report

Merging #4593 (ae6d6dc) into main (817f857) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4593   +/-   ##
=======================================
  Coverage   76.85%   76.86%           
=======================================
  Files         140      140           
  Lines       12864    12867    +3     
=======================================
+ Hits         9887     9890    +3     
  Misses       2720     2720           
  Partials      257      257           
Impacted Files Coverage Δ
internal/dag/gatewayapi_processor.go 93.28% <100.00%> (+0.02%) ⬆️

@skriss skriss merged commit 3550f75 into projectcontour:main Jun 23, 2022
@skriss skriss deleted the pr-gwapi-header-match-mult branch June 23, 2022 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/small A small change that needs one line of explanation in the release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gateway API: ignore all but the first header match for a given header name
2 participants