Chenjp opened a new pull request, #777:
URL: https://github.com/apache/tomcat/pull/777

   Currently ExpiresFilter pickup the first-added cache-control header as the 
effective field, cause follow-up directives (like no-store or max-age) to be 
ignored.
   
   rfc9111 - 4.2.1 - If directives conflict (e.g., both max-age and no-cache 
are present), the most restrictive directive should be honored.
   
   * remove cacheControlHeader from servlet response wrapper 
```ExpiresFilter.XHttpServletResponse```.
   * go through all cache-control fields when verify add-expire-header 
possibility.
   * test case added.


-- 
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...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to