You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by ju...@apache.org on 2001/08/22 18:12:49 UTC
cvs commit: jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods LockMethod.java
juergen 01/08/22 09:12:49
Modified: src/webdav/client/src/org/apache/webdav/lib/methods
LockMethod.java
Log:
Currently the server does not deliver an XML body for a conflict response code.
Revision Changes Path
1.24 +7 -5 jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/LockMethod.java
Index: LockMethod.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/LockMethod.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- LockMethod.java 2001/07/24 08:33:34 1.23
+++ LockMethod.java 2001/08/22 16:12:48 1.24
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/LockMethod.java,v 1.23 2001/07/24 08:33:34 juergen Exp $
- * $Revision: 1.23 $
- * $Date: 2001/07/24 08:33:34 $
+ * $Header: /home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/methods/LockMethod.java,v 1.24 2001/08/22 16:12:48 juergen Exp $
+ * $Revision: 1.24 $
+ * $Date: 2001/08/22 16:12:48 $
*
* ====================================================================
*
@@ -499,9 +499,11 @@
public void parseResponse(InputStream input)
throws IOException, HttpException {
int status = getStatusCode();
+// if (status == HttpStatus.SC_OK ||
+// status == HttpStatus.SC_MULTI_STATUS ||
+// status == HttpStatus.SC_CONFLICT) {
if (status == HttpStatus.SC_OK ||
- status == HttpStatus.SC_MULTI_STATUS ||
- status == HttpStatus.SC_CONFLICT) {
+ status == HttpStatus.SC_MULTI_STATUS ) {
parseXMLResponse(input);