stokito edited a comment on pull request #325:
URL: https://github.com/apache/tomcat/pull/325#issuecomment-666645463


   OMG you right, they differ:
   
   
        An origin server MUST use the strong comparison function when
        comparing entity-tags for If-Match (Section 2.3.2), since the client
        intends this precondition to prevent the method from being applied if
        there have been any changes to the representation data.
   
   
        A recipient MUST use the weak comparison function when comparing
        entity-tags for If-None-Match (Section 2.3.2), since weak entity-tags
        can be used for cache validation even if there have been changes to
        the representation data.
   
   But what is funny is that in Tomcat on the contrary `If-Match` is *weak* 
while  `If-None-Match` is *strong*.
   
   I'll fix that and update the PR


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