Re: Unused X-ProxyContextPath header in ApplicationResource

2018-05-15 Thread Andy LoPresto
Hi Adam, Not sure if the unused constant in that class is just a remnant from a move or refactoring that wasn’t cleaned up, but the header itself is used in WebUtils.java [1] during request processing to determine the context path. That method is used in determining the resource path in

Unused X-ProxyContextPath header in ApplicationResource

2018-05-15 Thread Martini, Adam
Hello all, I am wondering if there is any intention of using the X-ProxyContextPath header in the org.apache.nifi.web.api.ApplicationResource class? The class defines the static: public static final String PROXY_CONTEXT_PATH_HTTP_HEADER = "X-ProxyContextPath"; However, it is unused and