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

jersey-netty-connector ER - need the ability to set the headers required for redirection #5457

Open
sxsubram opened this issue Nov 5, 2023 · 0 comments

Comments

@sxsubram
Copy link

sxsubram commented Nov 5, 2023

As part of #5414 certain http headers were dropped during redirection to be spec compliant. We have a use case where request is routed from runtime component to the designtime component within the same domain. This use case is broken with the removal of the http auth headers. We have product use cases that require the auth headers and customer use case that require the auth header to be stripped.
To be able to support both use cases, we need the ability to set the headers used for redirection based on context. I am filing this ER for jersey-netty-connector to provide a redirectionResponseInterceptor so implementers can determine the headers that can set/dropped. The interceptor would need to provide access to the response headers and the original request and use the returned list of headers in the redirected request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant