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

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


The following commit(s) were added to refs/heads/11.0.x by this push:
     new eaa2aa8a62 Add a test for an invalid date precondition
eaa2aa8a62 is described below

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