[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-dev
Subject:    =?utf-8?q?=5BGitHub=5D_=5Btomcat=5D_stokito_commented_on_a_change_in_pull_re?= =?utf-8?q?quest_=2332
From:       GitBox <git () apache ! org>
Date:       2020-07-31 14:35:43
Message-ID: 159620614347.32230.18178627262457461894.asfpy () gitbox ! apache ! org
[Download RAW message or body]


stokito commented on a change in pull request #325:
URL: https://github.com/apache/tomcat/pull/325#discussion_r463648280



##########
File path: java/org/apache/catalina/servlets/DefaultServlet.java
##########
@@ -2611,6 +2574,44 @@ private PrecompressedResource(WebResource resource, CompressionFormat format) {
         }
     }
 
+    /**
+     * RFC 7232 requires weak comparison for If-None-Match
+     */
+    private boolean matchByEtagWeak(String headerValue, String eTag) {
+        // Match W/"1" and W/"1"
+        if (headerValue.contains(eTag)) {

Review comment:
       GIGO 




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

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



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic