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

Include RewriteRequestHeader filter similar to RewriteResponseHeader #2353

Open
aburmeis opened this issue Aug 30, 2021 · 1 comment
Open

Comments

@aburmeis
Copy link

When downstream systems have similar response headers resulting in persistent browser state, a solution could be to simply modify their value to make them unique (e.g. Set-Cookie). If you do so you need to do the reverse operation for request headers representing the same value (like Cookie) which is currently not available as a default filter.

A RewriteRequestHeaderGatewayFilterFactory similar to the existing RewriteResponseHeaderGatewayFilterFactory (equal Config) would solve the problem. Currently I wrote such a filter myself as a work around. As this filter is a reverse one of the existing one I would recommend to add it as a default functionality.

If approved I could help with a pull request for the functionality.

@spencergibb
Copy link
Member

PRs welcome

aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
aburmeis added a commit to aburmeis/spring-cloud-gateway that referenced this issue Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants