arturobernalg opened a new pull request, #609:
URL: https://github.com/apache/httpcomponents-client/pull/609

   Fix HTTPCLIENT-2354 by updating `ResponseCachingPolicy` to handle caching of 
responses with `must-revalidate, max-age=0` in shared caches. Updated 
`isExplicitlyCacheable` to account for `must-revalidate` when `max-age=0`, 
ensuring compliance with RFC 9111. Adjusted isResponseCacheable to permit 
caching of responses containing Authorization headers if `must-revalidate, 
s-maxage`, or public directives are present. Enhanced debug logging to reflect 
caching decisions. Added unit tests to verify that responses with 
`must-revalidate` and max-age=0 are cacheable in shared caches even with 
Authorization headers. This fix resolves the issue preventing compliant caching 
and aligns HttpClient behavior with RFC 9111 specifications.


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

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


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

Reply via email to