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 b64db96701 Use better context path b64db96701 is described below commit b64db96701690cd88c3fd87ea326d12cfe2bfa4c Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Dec 4 21:12:18 2023 +0000 Use better context path --- test/org/apache/catalina/servlets/ServletOptionsBaseTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/org/apache/catalina/servlets/ServletOptionsBaseTest.java b/test/org/apache/catalina/servlets/ServletOptionsBaseTest.java index 496511ac3e..3605b4d9d7 100644 --- a/test/org/apache/catalina/servlets/ServletOptionsBaseTest.java +++ b/test/org/apache/catalina/servlets/ServletOptionsBaseTest.java @@ -79,7 +79,7 @@ public abstract class ServletOptionsBaseTest extends TomcatBaseTest { // app dir is relative to server home org.apache.catalina.Context ctx = - tomcat.addWebapp(null, "/servlet", docBase.getAbsolutePath()); + tomcat.addWebapp(null, "/webdav", docBase.getAbsolutePath()); Wrapper w = Tomcat.addServlet(ctx, "servlet", createServlet()); w.addInitParameter("listings", Boolean.toString(listings)); @@ -95,7 +95,7 @@ public abstract class ServletOptionsBaseTest extends TomcatBaseTest { OptionsHttpClient client = new OptionsHttpClient(); client.setPort(getPort()); client.setRequest(new String[] { - "OPTIONS /servlet/" + url + " HTTP/1.1" + CRLF + + "OPTIONS /webdav/" + url + " HTTP/1.1" + CRLF + "Host: localhost:" + getPort() + CRLF + "Connection: close" + CRLF + CRLF }); @@ -110,7 +110,7 @@ public abstract class ServletOptionsBaseTest extends TomcatBaseTest { client.reset(); client.setRequest(new String[] { - method + " /servlet/" + url + " HTTP/1.1" + CRLF + + method + " /webdav/" + url + " HTTP/1.1" + CRLF + "Host: localhost:" + getPort() + CRLF + "Connection: close" + CRLF + CRLF }); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org