This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 0df50c842d Add a test for an invalid date precondition
0df50c842d is described below
commit 0df50c842daa9e73081ced0e0806d48c61a9b7c2
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 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: [email protected]
For additional commands, e-mail: [email protected]