Skip to content

Commit

Permalink
Disable the session header as it's not possible to invoke it
Browse files Browse the repository at this point in the history
  • Loading branch information
jedla97 authored and michalvavrik committed Dec 23, 2024
1 parent cf3b304 commit 254257d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ public class HttpCommonsHeaders implements ContainerResponseFilter {
public void filter(ContainerRequestContext requestCtx, ContainerResponseContext responseCtx) {
MultivaluedMap<String, Object> headers = responseCtx.getHeaders();
headers.add("x-count", AppConfiguration.getAndIncIndex());
headers.add("x-session", sessionIdBean.getSessionId());
// TODO enable the session header after the https://github.com/quarkusio/quarkus/issues/45191 is fixed
//headers.add("x-session", sessionIdBean.getSessionId());
headers.add("x-request", requestIdBean.getRequestId());
headers.add("x-instance", instanceId.getInstanceId());
}
Expand Down

0 comments on commit 254257d

Please sign in to comment.