ok2c commented on code in PR #850:
URL: 
https://github.com/apache/httpcomponents-client/pull/850#discussion_r3593324045


##########
httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/AsyncCachingExec.java:
##########
@@ -302,7 +302,7 @@ public void completed(final CacheMatch result) {
                 final CacheHit root = result != null ? result.root : null;
                 if (hit == null) {
                     if (requestCollapsingEnabled && root == null && 
!requestCacheControl.isOnlyIfCached()) {
-                        final String cacheKey = 
CacheKeyGenerator.INSTANCE.generateKey(target, cacheRequest);
+                        final String cacheKey = 
CacheKeyGenerator.INSTANCE.generateKey(target, cacheRequest, 
SimpleHttpRequest::getBodyText);

Review Comment:
   @desiderantes @arturobernalg I can hardly imagine a QUERY request with 
binary query content but so be it. Please do another pass.



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