Chenjp commented on PR #771: URL: https://github.com/apache/tomcat/pull/771#issuecomment-2437231617
@markt-asf @rmaucher please advise following issue need fix or not? -- If necessary, I will submit PR. ```java java.lang.AssertionError: 9.10.2. Refreshing Locks - Values other than 0 or infinity MUST NOT be used with the Depth header on a LOCK method. Depth header `1` is invalid. expected:<400> but was:<200> at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.failNotEquals(Assert.java:835) at org.junit.Assert.assertEquals(Assert.java:647) at org.apache.catalina.servlets.TestWebdavServletRfcSection_9_10.testRfc_9_10_2(TestWebdavServletRfcSection_9_10.java:199) java.lang.AssertionError: 9.10.3. Depth and Locking - The Depth header may be used with the LOCK method. Depth header `-1` is invalid. 4xx status coude expected, actual status code was 200 at org.apache.catalina.servlets.WebdavServletRfcSectionBase$WebdavClient.lockResource(WebdavServletRfcSectionBase.java:164) at org.apache.catalina.servlets.TestWebdavServletRfcSection_9_10.testRfc_9_10_3(TestWebdavServletRfcSection_9_10.java:280) java.lang.AssertionError: 9.11. UNLOCK Method - 400 (Bad Request) expected due to `No lock token was provided`., Failed to unlock(lockToken=null), actual status code was 409 at org.apache.catalina.servlets.WebdavServletRfcSectionBase$WebdavClient.unlockResource(WebdavServletRfcSectionBase.java:289) at org.apache.catalina.servlets.TestWebdavServletRfcSection_9_11.testRfc_9_11_1(TestWebdavServletRfcSection_9_11.java:190) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org