hanicz commented on code in PR #928:
URL: https://github.com/apache/knox/pull/928#discussion_r1703882471


##########
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:
   It's possible to be an empty String for null its not possible.



-- 
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

Reply via email to