This is an automated email from the ASF dual-hosted git repository.
remm 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 07bd4add37 422 is new in Servlet 6.1
07bd4add37 is described below
commit 07bd4add37e6f805a3f45f43ee25de593d09956b
Author: remm <[email protected]>
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 c0a5be034d..916bd058fc 100644
--- a/java/org/apache/catalina/servlets/WebdavServlet.java
+++ b/java/org/apache/catalina/servlets/WebdavServlet.java
@@ -3177,7 +3177,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: [email protected]
For additional commands, e-mail: [email protected]