eclipse-ee4j / eclipse-ee4j/jersey

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

Open
#5,457 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

As part of https://github.com/eclipse-ee4j/jersey/issues/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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.