This is an automated email from the ASF dual-hosted git repository. remm 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 bbc5a3d13d 422 is new in Servlet 6.1 bbc5a3d13d is described below commit bbc5a3d13d86c08cfe8f4024cfe039ec91678f9a Author: remm <r...@apache.org> AuthorDate: Mon Nov 4 15:06:16 2024 +0100 422 is new in Servlet 6.1 --- java/org/apache/catalina/servlets/WebdavServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/catalina/servlets/WebdavServlet.java b/java/org/apache/catalina/servlets/WebdavServlet.java index 0766e91b84..c8f81c7efc 100644 --- a/java/org/apache/catalina/servlets/WebdavServlet.java +++ b/java/org/apache/catalina/servlets/WebdavServlet.java @@ -3178,7 +3178,7 @@ class WebdavStatus { * Status code (422) indicating that the server understands the content type of the request but is unable to process * the contained instructions. */ - public static final int SC_UNPROCESSABLE_CONTENT = HttpServletResponse.SC_UNPROCESSABLE_CONTENT; + public static final int SC_UNPROCESSABLE_CONTENT = 422; /** --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org