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

   This PR addresses the issue where cache entries created by HEAD requests 
with null response bodies are incorrectly used for subsequent GET requests
   
   Changes in this PR:
   - Add a check in `CachedResponseSuitabilityChecker` to ensure that cache 
entries created by HEAD requests are not used to serve GET requests.
   - Properly handle 304 Not Modified responses in `CachingExec` by updating 
the existing cache entry.
   - Add relevant tests to validate the fix.
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to