markt-asf commented on PR #1150: URL: https://github.com/apache/tomcat/pull/1150#issuecomment-7043334991
@chenjp That is a selective, incorrect reading of RFC 9110. 5.6.1.1 does not apply since Tomcat is a receiver. 5.6.1.2 reasonable is up to the server to define The quoted example applies to the `example-list` production - `1#example-list-elmt` which requires at least one element rather than the general `#element => [ element ] *( OWS "," OWS [ element ] )` whcih does not. The `If-Match` production allows zero elements. The condition is not matched in that case. Tomcat implements this correctly. The `If-None-Match` production allows zero elements. The condition is matched in that case. Tomcat implements this correctly. -- 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]
