This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 454a5a50a3 Add a test for an invalid date precondition
454a5a50a3 is described below
commit 454a5a50a3369019f900c2508f0045adadcb47d0
Author: Mark Thomas <[email protected]>
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 c18a39245d..c03548a47d 100644
---
a/test/org/apache/catalina/servlets/TestDefaultServletRfc9110Section13Parameterized.java
+++
b/test/org/apache/catalina/servlets/TestDefaultServletRfc9110Section13Parameterized.java
@@ -95,6 +95,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: [email protected]
For additional commands, e-mail: [email protected]