This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit d40728a3f469eda2fd62faf084c564489105939e
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Dec 12 11:35:08 2024 +0000

    Add a test for an invalid date precondition
---
 .../servlets/TestDefaultServletRfc9110Section13Parameterized.java       | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/test/org/apache/catalina/servlets/TestDefaultServletRfc9110Section13Parameterized.java
 
b/test/org/apache/catalina/servlets/TestDefaultServletRfc9110Section13Parameterized.java
index c653cdbb1d..10c2b1d4e4 100644
--- 
a/test/org/apache/catalina/servlets/TestDefaultServletRfc9110Section13Parameterized.java
+++ 
b/test/org/apache/catalina/servlets/TestDefaultServletRfc9110Section13Parameterized.java
@@ -96,6 +96,8 @@ public class TestDefaultServletRfc9110Section13Parameterized 
extends TomcatBaseT
                     null, Boolean.FALSE, SC_200 });
             parameterSets.add(new Object[] { useStrongEtag, 
Task.HEAD_INDEX_HTML, null, DatePrecondition.MULTI_IN, null,
                     null, null, Boolean.FALSE, SC_200 });
+            parameterSets.add(new Object[] { useStrongEtag, 
Task.HEAD_INDEX_HTML, null, DatePrecondition.INVALID, null,
+                    null, null, Boolean.FALSE, SC_200 });
 
             // Ensure If-Unmodified-Since takes precedence over 
If-Modified-Since
             // If-Unmodified-Since only


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

Reply via email to