-
Notifications
You must be signed in to change notification settings - Fork 493
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
Unable to match on HTTP pseudo headers that start with : (colon) #2455
Comments
curious why http2 pseudo headers are not supported gateway-api/apis/v1beta1/httproute_types.go Line 433 in 9deb057
|
Sorry we missed this one @arkodg! This was in an effort to avoid having multiple ways to express the same thing. Take the example of the This is at least theoretically a solvable problem, but it would be helpful to clarify if this is really about having a way to match the scheme of a request or a way to match any arbitrary pseudo header. |
thanks for sharing the history !, specific ask here is to provide a way to match |
I think a use case for matching on scheme (that works with HTTP1 & 2) would be to help avoid redirect loops see here: #1185 (comment) |
yep, SGTM. I think this is a pretty big gap in the API. A new issue is probably the best way to cover this, but I think it probably justifies a mini-GEP. |
Made a new issue: #2809 |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What happened:
tried to match on a http pseudo header in my HTTPRoute
Got this error
What you expected to happen:
The HTTPRoute would get accepted and I would be able to add a redirect filter which redirects to https only when
the current request is http, else you end up also getting a redirect for https
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Pseudo headers defined in https://datatracker.ietf.org/doc/html/rfc7540#section-8.1.2.1
The text was updated successfully, but these errors were encountered: