Details
Description
The Last-Modified Header is set using, ultimately, HttpServletResponse.setDateHeader() while the If-Modified-Since Header is read using getHeader(String) and parsed using a fixed Pattern.
Fix: Use HttpServletRequest.getDateHeader() to read the date.