pzampino commented on code in PR #928: URL: https://github.com/apache/knox/pull/928#discussion_r1700416016
########## gateway-server/src/main/java/org/apache/knox/gateway/GatewayFilter.java: ########## @@ -203,6 +208,8 @@ public void doFilter( ServletRequest servletRequest, ServletResponse servletResp httpResponse.setStatus( HttpServletResponse.SC_NOT_FOUND ); } + if("/".equals(requestPath)) this.addCacheHeaders(httpResponse); Review Comment: Is it possible for requestPath to be null or an empty String? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org