-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Allow matching routes without capturing arguments #27996
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
What do you expect the path for the proxied request to be in this example? |
Preserving the entire path. |
@davidfowl can you give more details? I'm not sure I understand the E2E |
I host a proxy on localhost:80, then I map all requests to /api/v1/{path} to http://localhost/old/api/v1/{*path}, same for v2. Made it a bit clearer in the description. I want to avoid the cost of storing captures when I only care about matching because the other server is the one that's going to be doing the matching and parsing. |
Thanks for contacting us. |
Do you have an idea of the cost of this @javiercn ? |
It should be doable, a few days up to a week at most.
|
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
Thanks for contacting us. We're moving this issue to the |
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process. |
For proxy scenarios where routes need to be parameterized for matching but not for capture support a syntax to avoid allocating anything after matching.
e.g.
cc @Tratcher
The text was updated successfully, but these errors were encountered: